-
Notifications
You must be signed in to change notification settings - Fork 569
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
only show stack trace in dev mode #1515
Comments
Hi @williballenthin I'd like to contribute to this issue. Thank you for linking this article! I have read it and it is very helpful. As the article suggests, a callback could show the stack trace if
|
I think your idea is generally great. Lets try this out and see how it improves user experience. One thought: lets use the Line 877 in 647abb6
Please go ahead and open a PR and we can review it together. |
@williballenthin awesome thank you! What you are saying about the |
closed via #1860 |
ensure that we only show a stack trace when users might want to (such as developers). otherwise provide a last line of defense exception handler to suggest what users can do.
https://www.bitecode.dev/p/why-and-how-to-hide-the-python-stack
The text was updated successfully, but these errors were encountered: