Skip to content

Commit

Permalink
fix intent of RAISE_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Jun 15, 2023
1 parent 94dc664 commit 5653f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kaki/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def handle_exception(self, inst):
if isinstance(inst, (KeyboardInterrupt, SystemExit)):
return ExceptionManager.RAISE
app = App.get_running_app()
if not app.DEBUG and not app.RAISE_ERROR:
if not app.DEBUG and app.RAISE_ERROR:
return ExceptionManager.RAISE
app.set_error(inst, tb=traceback.format_exc())
traceback.print_exc()
Expand Down

0 comments on commit 5653f3a

Please sign in to comment.