##// END OF EJS Templates
logging: fix logging for webhooks
ergo -
Show More
@@ -69,10 +69,10 b' class WebhooksClient(object):'
69 69 timeout=3)
70 70 except Exception as e:
71 71 raise IntegrationException(
72 _('Error communicating with Webhooks: %s').format(e))
72 _('Error communicating with Webhooks: {}').format(e))
73 73 if resp.status_code > 299:
74 74 raise IntegrationException(
75 'Error communicating with Webhooks - status code: %s'.format(
75 'Error communicating with Webhooks - status code: {}'.format(
76 76 resp.status_code))
77 77 return resp
78 78
General Comments 0
You need to be logged in to leave comments. Login now