-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Consider deduping errors caught by exception handlers and loggers #2886
Comments
We already have a I just tested it on our Spring Boot 3 Sample and it does deduplicate events. I'm assuming it doesn't work in your example because the stack traces differ. Not sure why that is but maybe it helps them to dig a bit more. Quickest way for them to get what they want will likely be implementing their own version of |
I'm not a Java expert, but isn't it because the last bit of each stacktrace is either logging code or exception handling code?
Does logging code normally get the Anyway, may or not actually be a good idea, or applicable to Java in the same way it might be for JS. This is mostly just my way of passing along a user feedback event the user thought of as grouping feedback but which IMHO is more about the way they're using the SDK.
Since this came from a user feedback event, there isn't actually an open channel of communication, but hopefully if they're aggravated enough by it they'll find this issue and consider submitting something! |
Problem Statement
A user sent this in as grouping feedback but it's actually down to SDK behavior. They were expecting events to be grouped based on the fact that they're "the same error," when in fact what they are is an error being caught by both an exception handler and a logger.
The user is using
sentry.java.spring-boot.jakarta
version6.27.0
.Solution Brainstorm
Is this something the SDK could be smart about deduping?
The text was updated successfully, but these errors were encountered: