From e56e608620041242a09feceaff1ae087cdff63f9 Mon Sep 17 00:00:00 2001 From: 3err0 Date: Mon, 24 Jun 2019 07:14:13 +0800 Subject: [PATCH] exception message --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index c0b1986..3c99769 100644 --- a/main.py +++ b/main.py @@ -64,5 +64,5 @@ try: pidfile.write(pid) pidfile.close() bot.polling(none_stop=True, interval=0, timeout=10) -except: - pass \ No newline at end of file +except Exception as e: + print(e) \ No newline at end of file