Skip to content

ref(core)!: Mark exceptions from captureConsoleIntegration as handled: true by default #14734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Dec 16, 2024

This PR flips the default value for the handled flag in exceptions captured by captureConsoleIntegration. This integration only captures exceptions if attachStackTrace is set to true.

Added another integration test as a follow-up as promised in #14664.

This is not API-breaking but behaviour-breaking - @lforst let me know if I should remove the ! in the PR title/commit message

closes #14669

@Lms24 Lms24 self-assigned this Dec 16, 2024
Copy link

codecov bot commented Dec 16, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
670 1 669 299
View the top 1 failed tests by shortest run time
integrations/captureConsole-attachStackTrace/test.ts it captures console messages correctly and adds a synthetic stack trace if `attachStackTrace` is set to `true`
Stack Traces | 0.239s run time
test.ts:7:11 it captures console messages correctly and adds a synthetic stack trace if `attachStackTrace` is set to `true`

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@Lms24 Lms24 merged commit 1c3f37b into develop Dec 16, 2024
159 checks passed
@Lms24 Lms24 deleted the lms/ref-captureconsole-handled branch December 16, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v9] Mark events from captureConsoleIntegration as handled: true by default
2 participants