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
|
# Run the main function of the bot
|
||||||
asyncio.get_event_loop().run_until_complete(main.main())
|
asyncio.get_event_loop().run_until_complete(main.main())
|
||||||
except ImportError:
|
except ImportError as e:
|
||||||
print("Unable to import my_project_main.main")
|
print("Unable to import my_project_name.main:", e)
|
||||||
|
|
Loading…
Add table
Reference in a new issue