Skip to content
Snippets Groups Projects
Commit 55684f99 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fix exception logging

parent 35c2d18e
No related branches found
No related tags found
3 merge requests!1408catch up with 2.8.1.1, pin zope.sqlalchemy to 2.0,!1405merge 2.8.1.1 to main,!1400fix exception logging
Pipeline #10217 passed
...@@ -82,7 +82,7 @@ class NotificationService(NotificationServiceIF): ...@@ -82,7 +82,7 @@ class NotificationService(NotificationServiceIF):
try: try:
validate_email(address) validate_email(address)
except EmailNotValidError as e: except EmailNotValidError as e:
logger.info(f"Invalid email address {address} found, removing from receivers list." + e) logger.info(f"Invalid email address {address} found, removing from receivers list.")
receiver_emails.remove(address) receiver_emails.remove(address)
if len(receiver_emails) > 0: if len(receiver_emails) > 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment