mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 23:14:11 +02:00
Readd try block
This commit is contained in:
parent
09944e4ce0
commit
467b7a90f5
1 changed files with 9 additions and 10 deletions
|
@ -917,7 +917,6 @@ class DomainAddUserView(DomainFormBaseView):
|
|||
exc_info=True,
|
||||
)
|
||||
messages.warning(self.request, "Could not send email invitation.")
|
||||
else:
|
||||
try:
|
||||
UserDomainRole.objects.create(
|
||||
user=requested_user,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue