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