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

Closed
alexdresko opened this issue Sep 3, 2019 · 2 comments
Closed
Labels

Comments

@alexdresko
Copy link

@alexdresko alexdresko 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.

Thoughts?

@khellang
Copy link
Owner

@khellang khellang 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.

Loading

@khellang
Copy link
Owner

@khellang khellang commented Oct 16, 2019

I'm closing this as there's not really anything actionable here 😄

Loading

@khellang khellang closed this Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants