From 5653f3ac53becc72ad1bf8e357431cfe2201dbf6 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 15 Jun 2023 17:23:26 +0200 Subject: [PATCH] fix intent of RAISE_ERROR --- kaki/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaki/app.py b/kaki/app.py index 7de50f2..09d851e 100644 --- a/kaki/app.py +++ b/kaki/app.py @@ -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()