Revision c919402e invitations/invitations.py
b/invitations/invitations.py | ||
---|---|---|
80 | 80 |
except Exception as e: |
81 | 81 |
remove_invitation(invitation) |
82 | 82 |
_logger.exception(e) |
83 |
errors += ["Invitation to %s <%s> could not be sent. " + |
|
84 |
"An unexpected error occurred. Please try again later." % |
|
85 |
(name, email)] |
|
83 |
errors += ["Invitation to %s <%s> could not be sent. An unexpected\ |
|
84 |
error occurred. Please try again later." %(name, email)] |
|
86 | 85 |
|
87 | 86 |
respose = None |
88 | 87 |
if errors: |
Also available in: Unified diff