From fdfd6838a6562e73d116e38898f44cff9ba88972 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 19 Mar 2018 15:24:59 +0000 Subject: [PATCH] Fix error message. The id in the message is referring to a notification not a service --- app/celery/service_callback_tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/celery/service_callback_tasks.py b/app/celery/service_callback_tasks.py index c42f2fc8a..2da41869c 100644 --- a/app/celery/service_callback_tasks.py +++ b/app/celery/service_callback_tasks.py @@ -62,7 +62,7 @@ def send_delivery_status_to_service(self, notification_id, response.raise_for_status() except RequestException as e: current_app.logger.warning( - "send_delivery_status_to_service request failed for service_id: {} and url: {}. exc: {}".format( + "send_delivery_status_to_service request failed for notification_id: {} and url: {}. exc: {}".format( notification_id, status_update['service_callback_api_url'], e @@ -119,7 +119,7 @@ def process_update_with_notification_id(self, notification_id): response.raise_for_status() except RequestException as e: current_app.logger.warning( - "send_delivery_status_to_service request failed for service_id: {} and url: {}. exc: {}".format( + "send_delivery_status_to_service request failed for notification_id: {} and url: {}. exc: {}".format( notification_id, service_callback_api.url, e