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

Add option for whether tracebacks should be shown in 5xx responses #19

Open
jwodder opened this issue Jan 29, 2024 · 0 comments
Open

Add option for whether tracebacks should be shown in 5xx responses #19

jwodder opened this issue Jan 29, 2024 · 0 comments
Labels
configuration Telling the program what to do enhancement New feature or request therefor error handling Responding to problems

Comments

@jwodder
Copy link
Member

jwodder commented Jan 29, 2024

Currently, 5xx responses contain an error traceback in their bodies in order to aid in debugging, but this is bad practice. This behavior should be disabled by default, and a CLI option (--serve-errors?) should be required to re-enable it.

@jwodder jwodder added the enhancement New feature or request therefor label Jan 29, 2024
@jwodder jwodder changed the title Add option for whether tracebacks should be shown in 501 responses Add option for whether tracebacks should be shown in 500 responses Feb 6, 2024
@jwodder jwodder added the error handling Responding to problems label May 20, 2024
@jwodder jwodder changed the title Add option for whether tracebacks should be shown in 500 responses Add option for whether tracebacks should be shown in 5xx responses Jul 29, 2024
@jwodder jwodder added the configuration Telling the program what to do label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Telling the program what to do enhancement New feature or request therefor error handling Responding to problems
Projects
None yet
Development

No branches or pull requests

1 participant