mirror of
https://github.com/Crocmagnon/plant-badger.git
synced 2024-11-22 17:38: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:
|
except ImportError as e:
|
||||||
# If the app doesn't exist, notify the user
|
# If the app doesn't exist, notify the user
|
||||||
warning(None, f"Could not launch: {file}")
|
warning(None, f"Could not launch: {file}. {e}")
|
||||||
print(e)
|
|
||||||
time.sleep(4.0)
|
time.sleep(4.0)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# If the app throws an error, catch it and display!
|
# If the app throws an error, catch it and display!
|
||||||
|
|
Loading…
Reference in a new issue