mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-01 08:43:30 +02:00
Fix linting errors
This commit is contained in:
parent
ac73a54a9d
commit
ce9c8abd60
1 changed files with 6 additions and 2 deletions
|
@ -93,8 +93,12 @@ class DomainAddUserView(DomainPermission, FormMixin, DetailView):
|
|||
)
|
||||
except EmailSendingError:
|
||||
messages.warning(self.request, "Could not send email invitation.")
|
||||
logger.warn("Could not sent email invitation to %s for domain %s",
|
||||
email_address, self.object, exc_info=True)
|
||||
logger.warn(
|
||||
"Could not sent email invitation to %s for domain %s",
|
||||
email_address,
|
||||
self.object,
|
||||
exc_info=True,
|
||||
)
|
||||
else:
|
||||
messages.success(
|
||||
self.request, f"Invited {email_address} to this domain."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue