Commit 1f461636 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

controllers/default.py: default/error, formatting mail

parent dc56c168
...@@ -416,7 +416,7 @@ def error(): ...@@ -416,7 +416,7 @@ def error():
log.error("Server error // %s" % ticket_url) log.error("Server error // %s" % ticket_url)
user_str, x = log.process('', None) user_str, x = log.process('', None)
user_str = user_str.replace('<','').replace('>','') user_str = user_str.replace('<','').replace('>','').strip()
mail.send(to=defs.ADMIN_EMAILS, mail.send(to=defs.ADMIN_EMAILS,
subject="[Vidjil] Server error - %s" % user_str, subject="[Vidjil] Server error - %s" % user_str,
......
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