From c510f7e0d2758c44f72ded58c652d0076d0e449a Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 20 Apr 2021 01:17:10 +0300 Subject: remove unneeded stuff --- telegram_notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3