better log messages

This commit is contained in:
b3yond 2018-04-15 12:11:49 +02:00
parent 064ca181c0
commit 84746a6d01

View file

@ -47,7 +47,7 @@ def register_post():
) )
return dict(info='Confirmation mail sent.') return dict(info='Confirmation mail sent.')
except Exception: 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.') return dict(error='Could not send confirmation mail.')