From c75458cee9d5d6782af12b769aeff1cfb3af276f Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 26 Mar 2018 16:44:29 +0100 Subject: [PATCH] Revert change to exception log. --- app/celery/provider_tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/celery/provider_tasks.py b/app/celery/provider_tasks.py index 957456fe1..9a543ea23 100644 --- a/app/celery/provider_tasks.py +++ b/app/celery/provider_tasks.py @@ -30,7 +30,7 @@ def deliver_sms(self, notification_id): except Exception as e: try: current_app.logger.exception( - "SMS notification delivery for id: {} failed".format(notification_id), e + "SMS notification delivery for id: {} failed".format(notification_id) ) self.retry(queue=QueueNames.RETRY) except self.MaxRetriesExceededError: @@ -55,7 +55,7 @@ def deliver_email(self, notification_id): except Exception as e: try: current_app.logger.exception( - "RETRY: Email notification {} failed".format(notification_id), e + "RETRY: Email notification {} failed".format(notification_id) ) self.retry(queue=QueueNames.RETRY) except self.MaxRetriesExceededError: