diff --git a/hbd b/hbd index 0405ada..656f5a2 100755 --- a/hbd +++ b/hbd @@ -244,7 +244,10 @@ def pushmattermost(msg): "icon_url": ICON } - rc = mm.webhooks.call_webhook(TOKEN, msg) + try: + rc = mm.webhooks.call_webhook(TOKEN, msg) + except Exception as e: + rc = str(e) if not rc: print(rc)