mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
Fix error message.
The id in the message is referring to a notification not a service
This commit is contained in:
@@ -62,7 +62,7 @@ def send_delivery_status_to_service(self, notification_id,
|
|||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
except RequestException as e:
|
except RequestException as e:
|
||||||
current_app.logger.warning(
|
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,
|
notification_id,
|
||||||
status_update['service_callback_api_url'],
|
status_update['service_callback_api_url'],
|
||||||
e
|
e
|
||||||
@@ -119,7 +119,7 @@ def process_update_with_notification_id(self, notification_id):
|
|||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
except RequestException as e:
|
except RequestException as e:
|
||||||
current_app.logger.warning(
|
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,
|
notification_id,
|
||||||
service_callback_api.url,
|
service_callback_api.url,
|
||||||
e
|
e
|
||||||
|
|||||||
Reference in New Issue
Block a user