mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-01 16:53: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:
|
except EmailSendingError:
|
||||||
messages.warning(self.request, "Could not send email invitation.")
|
messages.warning(self.request, "Could not send email invitation.")
|
||||||
logger.warn("Could not sent email invitation to %s for domain %s",
|
logger.warn(
|
||||||
email_address, self.object, exc_info=True)
|
"Could not sent email invitation to %s for domain %s",
|
||||||
|
email_address,
|
||||||
|
self.object,
|
||||||
|
exc_info=True,
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
messages.success(
|
messages.success(
|
||||||
self.request, f"Invited {email_address} to this domain."
|
self.request, f"Invited {email_address} to this domain."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue