Skip to content
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

`throw new ProblemDetailsException..` does include exception details? #64

alexdresko opened this issue Sep 3, 2019 · 1 comment


Copy link

commented Sep 3, 2019

throw new ProblemDetailsException(validation); returns HTTP status code 500, but doesn't include the exception details. I think I get why, but it seems inconsistent with throwing any other exception.



This comment has been minimized.

Copy link

commented Sep 3, 2019

ProblemDetailsException is a special kind of exception for bubbling up an existing ProblemDetails object. It will just serialize that existing object, without doing anything special.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.