Commit 8068f057 authored by Daniel STAN's avatar Daniel STAN
Browse files

Plus de "secrets.py -> secrets_new.py" (for now..)

parent b373d37f
secrets_new.py
\ No newline at end of file
......@@ -58,4 +58,7 @@ def get(secret):
return getattr(module, secret)
except:
logger.critical('...and that failed.')
raise Exception("Impossible d'acceder au secret %s!" % secret)
if os.getenv('DEBUG', 0):
raise
else:
raise Exception("Impossible d'acceder au secret %s!" % secret)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment