This commit is contained in:
David Kennedy 2025-01-29 17:23:08 -05:00
parent 79636aad14
commit f00a4c837c
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 9 additions and 7 deletions

View file

@ -84,8 +84,10 @@ def send_emails_to_domain_managers(email: str, requestor_email, domain: Domain,
"date": date.today(),
},
)
except EmailSendingError as err:
logger.warning(f"Could not send email manager notification to {user.email} for domain: {domain.name}", exc_info=True)
except EmailSendingError:
logger.warning(
f"Could not send email manager notification to {user.email} for domain: {domain.name}", exc_info=True
)
all_emails_sent = False
return all_emails_sent