diff options
-rw-r--r-- | telegram_notify.py | 2 |
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 |