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