-
-
Notifications
You must be signed in to change notification settings - Fork 468
Better support for exceptions #43
Copy link
Copy link
Closed
Description
I need to dig into this more, so this ticket is mostly investigate, but the gist is that a formatted traceback might look something like this:
org.springframework.security.authentication.AuthenticationServiceException: Authentication failed
at com.foobar.core.security.processor.AuthenticationProcessorImpl.authenticate(AuthenticationProcessorImpl.java:88)
Where in Sentry, we end up with a somewhat-incorrect traceback:
Caused by: org.springframework.security.authentication.AuthenticationServiceException ("Authentication failed") ? at line -1
com.foobar.core.security.processor.AuthenticationProcessorImpl ? in authenticate at line 88
The big things here being:
- Caused by should actually be part of the Exception interface
- We're not recording a filename (though I'm not sure whats all available there)
There might be some additional things to clean up here as well.
Of note, I'm going to change how Java (and more importantly language-based) tracebacks look so they feel more natural to each individual platform.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Fields
Give feedbackNo fields configured for issues without a type.