From 9e42a37c6836d97577695b41c152962fac9d1c84 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 10 Mar 2023 19:32:19 +0100 Subject: [PATCH] Update error handling --- src/lib/badger_os.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/badger_os.py b/src/lib/badger_os.py index c818472..524dce1 100644 --- a/src/lib/badger_os.py +++ b/src/lib/badger_os.py @@ -132,8 +132,7 @@ def launch(file): except ImportError as e: # If the app doesn't exist, notify the user - warning(None, f"Could not launch: {file}") - print(e) + warning(None, f"Could not launch: {file}. {e}") time.sleep(4.0) except Exception as e: # If the app throws an error, catch it and display!