X Tutup
Skip to content

Commit 623863c

Browse files
committed
fix exception logging
1 parent aa125e5 commit 623863c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

telegram/dispatcher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ def start(self):
187187

188188
# All other errors should not stop the thread, just print them
189189
except:
190-
self.logger.exception()
190+
self.logger.exception("An uncaught error was raised while "
191+
"processing an update")
191192
else:
192193
self.__lock.release()
193194
self.logger.info('Dispatcher thread stopped')

0 commit comments

Comments
 (0)
X Tutup