Print why startup script was unsuccessful

This commit is contained in:
Andrew Morgan 2020-08-16 17:00:23 +01:00
parent 95aa7943c1
commit 155f81ca44

View file

@ -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)