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
When throwing an exception from a Controller/RestController that is annotated with @ResponseStatus with an HTTP status code in the 4xx range, the exception should be reported to Bugsnag with severity INFO.
Observed behavior
Custom exceptions annotated with @ResponseStatus are always reported with severity ERROR independent from the HTTP status that is set.
At the moment there is no code in ExceptionClassCallback that would handle such exceptions.
Steps to reproduce
Create a custom exception class with @ResponseStatus and an HTTP status in the 4xx range
Throw this exception from a Controller/RestController
The exception is shown with severity ERROR in Bugsnag
Version
bugsnag-spring 3.4.4
Additional information
Since we typically use custom exceptions for client errors, a fix to this problem would greatly improve our user experience with Bugsnag. Thanks for looking into this!
The text was updated successfully, but these errors were encountered:
Expected behavior
When throwing an exception from a Controller/RestController that is annotated with
@ResponseStatus
with an HTTP status code in the 4xx range, the exception should be reported to Bugsnag with severity INFO.Observed behavior
Custom exceptions annotated with
@ResponseStatus
are always reported with severity ERROR independent from the HTTP status that is set.At the moment there is no code in
ExceptionClassCallback
that would handle such exceptions.Steps to reproduce
@ResponseStatus
and an HTTP status in the 4xx rangeVersion
bugsnag-spring 3.4.4
Additional information
Since we typically use custom exceptions for client errors, a fix to this problem would greatly improve our user experience with Bugsnag. Thanks for looking into this!
The text was updated successfully, but these errors were encountered: