Ability to gracefully exit from a lifespan error #2964
Unanswered
madduck
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, please consider the following code:
This will yield:
This is misleading.
SystemExit(0)
is not an error, and the traceback is confusing.Would it be possible to provide special handling for
SystemExit
or maybe another exception hierarchy, such that it would be possible to bubble up from a lifespan event error all the way to the console?Also see:
Beta Was this translation helpful? Give feedback.
All reactions