better log messages
This commit is contained in:
parent
064ca181c0
commit
84746a6d01
|
@ -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.')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue