Print why startup script was unsuccessful
This commit is contained in:
parent
95aa7943c1
commit
155f81ca44
1 changed files with 2 additions and 2 deletions
|
@ -6,5 +6,5 @@ try:
|
|||
|
||||
# Run the main function of the bot
|
||||
asyncio.get_event_loop().run_until_complete(main.main())
|
||||
except ImportError:
|
||||
print("Unable to import my_project_main.main")
|
||||
except ImportError as e:
|
||||
print("Unable to import my_project_name.main:", e)
|
||||
|
|
Loading…
Reference in a new issue