-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Add markUnhandledAsFatal
to SentryOptions
#1720
Add markUnhandledAsFatal
to SentryOptions
#1720
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/8.0.0 #1720 +/- ##
=================================================
- Coverage 91.12% 90.30% -0.82%
=================================================
Files 175 179 +4
Lines 5690 5850 +160
=================================================
+ Hits 5185 5283 +98
- Misses 505 567 +62 ☔ View full report in Codecov by Sentry. |
@@ -2,6 +2,10 @@ | |||
|
|||
## 8.0.0 | |||
|
|||
### Features | |||
|
|||
- Add `markUnhandledAsFatal` to `SentryOptions` ([#1720](https://github.com/getsentry/sentry-dart/pull/1720)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 The changelog entry seems to be part of an already released section
## 8.0.0
.
Consider moving the entry to the## Unreleased
section, please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
Any particular reason why this is in v8?
It would change the metrics significantly in the dashboards in a minor version. |
@buenaflor Also the naming of the flag is in reference to unhandled error, which is also new in v8. |
@buenaflor @ueman @feinstein I'm always unsure regarding naming. Is the it clear enough from the options name what it's intent is? |
Me too hehe, but I think it's ok, I always try to make my booleans start with |
Converting back to draft as we decided to base this on the main branch and update naming accordingly. |
Closed in favour of #1738 |
📜 Description
Add
markUnhandledAsFatal
option toSentryOptions
. When disabled the level for automatically trackedunhandled
evetns will be set toerror
instead offatal
/💡 Motivation and Context
Relates to #1624
💚 How did you test it?
Unit tets
📝 Checklist
sendDefaultPii
is enabled