You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0df52e7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(android): [Unhandled Sessions 4] Add session update API for unsampled hybrid errors (#5990)
* feat(android): Add session update for dropped hybrid errors
Hybrid SDKs skip captureEnvelopeNonTerminating when an error is unsampled,
so the session never records it. Expose the same non-terminating session
update without sending the event.
Co-authored-by: Cursor <cursoragent@cursor.com>
* changelog
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs(android): Mention only sampling for the dropped-event session API
This path is for hybrid errors dropped by sample rate, not rate limiting.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs(android): Note that the dropped-event session API writes to disk
Persisting the session is synchronous so the unhandled marker is durable
by the time the call returns, which means callers must stay off the main
thread. Say so where hybrid SDK authors will read it.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
### Internal
18
18
19
19
- Add `InternalSentrySdk.captureEnvelopeNonTerminating` for hybrid SDKs (e.g. Flutter) so unhandled exceptions that don't terminate the process no longer end the session as `crashed` ([#5921](https://github.com/getsentry/sentry-java/pull/5921))
20
+
- Add `InternalSentrySdk.updateSessionForDroppedEventNonTerminating` so hybrid SDKs can still update the session when an error is dropped by sampling ([#5990](https://github.com/getsentry/sentry-java/pull/5990))
0 commit comments