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

Remove stacktrace from error responses #95

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

rpoet-jh
Copy link
Contributor

This will fix the issue with showing the stacktrace on the Whitelabel error page for HTML clients.

Note that the stacktrace was also being included in error responses for JSON clients. With this PR, the stacktrace will no longer be in the error response for JSON clients as well.

The Whitelabel Error Page now looks like:

Screenshot 2024-10-15 at 4 07 31 PM

@rpoet-jh rpoet-jh requested a review from markpatton October 15, 2024 20:15
@rpoet-jh rpoet-jh self-assigned this Oct 15, 2024
@rpoet-jh rpoet-jh linked an issue Oct 15, 2024 that may be closed by this pull request
Copy link
Contributor

@markpatton markpatton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. I think I had added that for debugging, but it can always be turned back on when needed.

@rpoet-jh rpoet-jh merged commit 1797b93 into main Oct 16, 2024
2 checks passed
@rpoet-jh rpoet-jh deleted the rdp-1062-error-page-stacktrace branch October 16, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

404 produces Whitelabel Error Page with stacktrace
2 participants