[24] fix webhooks

This commit is contained in:
meisnate12 2023-04-19 17:51:05 -04:00
parent 1adb074acb
commit b572af04fe
2 changed files with 33 additions and 32 deletions

View file

@ -1 +1 @@
1.19.0-develop23
1.19.0-develop24

View file

@ -36,6 +36,7 @@ class Webhooks:
elif webhook.startswith("https://hooks.slack.com/services"):
json = self.slack(json)
response = self.config.post(webhook, json=json)
if response is not None:
try:
response_json = response.json()
logger.trace(f"Response: {response_json}")