print traceback for config errors

This commit is contained in:
odysseusmax 2020-08-13 04:07:18 +00:00
parent 0085a117d6
commit e30926e36c
1 changed files with 1 additions and 1 deletions

View File

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