print traceback for config errors

This commit is contained in:
odysseusmax
2020-08-13 04:07:18 +00:00
parent 0085a117d6
commit e30926e36c

View File

@ -37,4 +37,4 @@ except (KeyError, ValueError):
sys.exit(1) sys.exit(1)
host = os.environ.get("HOST", "0.0.0.0") host = os.environ.get("HOST", "0.0.0.0")
debug = True debug = bool(os.environ.get("DEBUG"))