mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
Change a print statement to use logger instead
This commit is contained in:
parent
fc9456e1a8
commit
cc6c4a6eb9
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class Dispatcher:
|
|||
|
||||
# All other errors should not stop the thread, so just print them
|
||||
except:
|
||||
print_exc()
|
||||
self.logger.exception()
|
||||
|
||||
self.logger.info('Dispatcher thread stopped')
|
||||
|
||||
|
|
Loading…
Reference in a new issue