mirror of
https://gitlab.com/octospacc/TelegramIndex-Fork.git
synced 2025-02-16 11:31:44 +01:00
print traceback for config errors
This commit is contained in:
parent
0085a117d6
commit
e30926e36c
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user