mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
Add domain manager after email sending error
This commit is contained in:
parent
76fc71382d
commit
dd29cbf8ca
1 changed files with 1 additions and 0 deletions
|
@ -903,6 +903,7 @@ class DomainAddUserView(DomainFormBaseView):
|
|||
exc_info=True,
|
||||
)
|
||||
messages.warning(self.request, "Could not send email invitation.")
|
||||
email_success = True
|
||||
except OutsideOrgMemberError:
|
||||
logger.warn(
|
||||
"Could not send email. Can not invite member of a .gov organization to a different organization.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue