Print why startup script was unsuccessful
This commit is contained in:
parent
95aa7943c1
commit
155f81ca44
|
@ -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…
Reference in New Issue