better log messages

master
b3yond 2018-04-15 12:11:49 +02:00
parent 4acab73266
commit 2cc6122a9e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def register_post():
)
return dict(info='Confirmation mail sent.')
except Exception:
logger.error("Could not send confirmation mail.", exc_info=True)
logger.error("Could not send confirmation mail to " + email, exc_info=True)
return dict(error='Could not send confirmation mail.')