You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, didn't think this one through at all; by not having any handling of StatusError exceptions inside State.run() itself, we just instantly exit the REPL with no recourse to recover it. We should instead catch StatusError inside State.run() and then raise a SystemExit in its place if it's unhandled.
This will let certain commands catch StatusError if they want to, but by default they are turned into SystemExit calls through the error handler we already have.
The text was updated successfully, but these errors were encountered:
Commit 7394722 needs to be reverted.
Yeah, didn't think this one through at all; by not having any handling of
StatusError
exceptions insideState.run()
itself, we just instantly exit the REPL with no recourse to recover it. We should instead catchStatusError
insideState.run()
and then raise aSystemExit
in its place if it's unhandled.This will let certain commands catch
StatusError
if they want to, but by default they are turned into SystemExit calls through the error handler we already have.The text was updated successfully, but these errors were encountered: