-
-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only send session update for dropped events if state changed (#2002)
* Change order of filtering mechanisms and add early return * Only send session update for dropped events if state changed * Extract variable for throwable * Add changelog * Add changelog * Rename method * Rename things * Make var final * Apply suggestions from code review Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> * Update sentry/src/main/java/io/sentry/SentryClient.java Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> * Add tests to verify order, session updates and sending * Add debug log for dropped events ... ... where the session update is not sent because it does not change the health of the sesssion * Fix merge mistake Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
- Loading branch information
1 parent
4fd621e
commit e91f397
Showing
3 changed files
with
385 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.