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
The message of a ResponseStatusException is not added to the HTTP response body. I would expect the exception message to be present in the response body for easier debugging and error spotting.
The message of a
ResponseStatusException
is not added to the HTTP response body. I would expect the exception message to be present in the response body for easier debugging and error spotting.Reproducible example
When adding a new Datasource (
PUT /api/adapter/datasources
) with anid
already specified, the response does not contain the error message of the thrownResponseStatusException
from this line: https://github.com/jvalue/open-data-service/blob/8404c3761ac5f46cfbe3367253e2f61916eff3ea/adapter/src/main/java/org/jvalue/ods/adapterservice/datasource/api/rest/v1/DatasourceEndpoint.java#L43 Instead the response body just contains this:The text was updated successfully, but these errors were encountered: