summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-04-20 01:17:10 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-04-20 01:17:10 +0300
commitc510f7e0d2758c44f72ded58c652d0076d0e449a (patch)
treeec248882df4c05876b1ca7222911a257e6d3b625
parentc9517a0ba91ce3a55ca14b2432d26f3b2c9dd933 (diff)
remove unneeded stuff
-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