Compare commits

...

1 Commits

Author SHA1 Message Date
Leo Hemsted
79237957f5 remove docstring to stop erroneous whitespace in log messages 2020-02-03 16:45:08 +00:00

View File

@@ -567,11 +567,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(
service_id,
inbound_sms_id
)
f"Retry: send_inbound_sms_to_service has retried the max number of "
f"times for service: {service_id} and inbound_sms {inbound_sms_id}"
)