mirror of
https://gitlab.com/octospacc/TelegramIndex-Fork.git
synced 2025-06-05 22:09:12 +02:00
print traceback for config errors
This commit is contained in:
@ -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"))
|
||||||
|
Reference in New Issue
Block a user