Add service id to log

This commit is contained in:
Rebecca Law
2018-10-24 16:37:38 +01:00
parent 4cfd5489c8
commit 9ee55155cc

View File

@@ -548,8 +548,8 @@ def send_inbound_sms_to_service(self, inbound_sms_id, service_id):
self.retry(queue=QueueNames.RETRY)
except self.MaxRetriesExceededError:
current_app.logger.error(
"""Retry: send_inbound_sms_to_service has retried the max number of
times for service: {} and inbound_sms {}""".format(
"""Retry: send_inbound_sms_to_service has retried the max number of
times for service: {} and inbound_sms {}""".format(
service_id,
inbound_sms_id
)