an error occured

This commit is contained in:
asaki222 2024-09-04 18:27:32 -04:00
parent 914fbdc04b
commit 236aac02b0
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4

View file

@ -854,8 +854,8 @@ class DomainAddUserView(DomainFormBaseView):
self.request,
f"{email} has already been invited to this domain"
)
except DomainInvitation.DoesNotExist:
logger.info("Domain Invitation Does Not Exist")
except Exception:
logger.error("An error occured")
try:
send_templated_email(