Browse Source

Merge "Add a debug log for the webhook publisher"

tags/7.0.0.0rc1
Zuul 11 months ago
parent
commit
6c42ff99d8
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      mistral/notifiers/publishers/webhook.py

+ 2
- 0
mistral/notifiers/publishers/webhook.py View File

@@ -32,5 +32,7 @@ class WebhookPublisher(base.NotificationPublisher):
32 32
 
33 33
         resp = requests.post(url, data=json.dumps(data), headers=headers)
34 34
 
35
+        LOG.info("Webook request url=%s code=%s", url, resp.status_code)
36
+
35 37
         if resp.status_code not in [http_client.OK, http_client.CREATED]:
36 38
             raise Exception(resp.text)

Loading…
Cancel
Save