From 55684f9909edbb2c46793623faffae86332c6ffe Mon Sep 17 00:00:00 2001 From: chausman <chausman@nrao.edu> Date: Tue, 20 Jun 2023 11:52:33 -0600 Subject: [PATCH] fix exception logging --- .../workspaces/notification/services/notification_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/workspaces/workspaces/notification/services/notification_service.py b/shared/workspaces/workspaces/notification/services/notification_service.py index bff62dcb3..ad36bfb21 100644 --- a/shared/workspaces/workspaces/notification/services/notification_service.py +++ b/shared/workspaces/workspaces/notification/services/notification_service.py @@ -82,7 +82,7 @@ class NotificationService(NotificationServiceIF): try: validate_email(address) 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) if len(receiver_emails) > 0: -- GitLab