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
For example when accessing /private/demo without a valid access token the default Vert.x exception handler is used. Therefor we are missing the JSON API structured error we do return when other exceptions occur.
Currently failed requests result in the following logging:
SEVERE: Unhandled exception in router
io.vertx.ext.web.handler.HttpException: Unauthorized
Technical Requirements
Add Vert.x failureHandler to the router which converts a standard Exception into a JSON API error response as we do for other endpoints.
The text was updated successfully, but these errors were encountered:
Context
For example when accessing
/private/demo
without a valid access token the default Vert.x exception handler is used. Therefor we are missing the JSON API structured error we do return when other exceptions occur.Currently failed requests result in the following logging:
Technical Requirements
The text was updated successfully, but these errors were encountered: