aboutsummaryrefslogtreecommitdiff
path: root/telegram_notify.py
diff options
context:
space:
mode:
Diffstat (limited to 'telegram_notify.py')
-rw-r--r--telegram_notify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram_notify.py b/telegram_notify.py
index bc5c834..46c2854 100644
--- a/telegram_notify.py
+++ b/telegram_notify.py
@@ -58,5 +58,5 @@ if __name__ == '__main__':
text = 'new mos-gorsud findings:\n' + text
send(text=text, token=args.token, chat_id=args.chat_id)
- except Exception as e:
+ except:
send(text='error: '+traceback.format_exc(), token=args.token, chat_id=args.chat_id) \ No newline at end of file