mirror of
https://github.com/Crocmagnon/plant-badger.git
synced 2024-11-22 01:18:02 +01:00
Update error handling
This commit is contained in:
parent
58286c3a0b
commit
9e42a37c68
1 changed files with 1 additions and 2 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue