Update error handling

This commit is contained in:
Gabriel Augendre 2023-03-10 19:32:19 +01:00
parent 58286c3a0b
commit 9e42a37c68

View file

@ -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!