mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +01:00
dispatcher: fix wrong variable (#233)
This commit is contained in:
parent
9a523dbc40
commit
e179b27f57
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ class Dispatcher:
|
|||
if self.__stop_event.is_set():
|
||||
self.logger.debug('orderly stopping')
|
||||
break
|
||||
elif self.__stop_event.is_set():
|
||||
elif self.__exception_event.is_set():
|
||||
self.logger.critical(
|
||||
'stopping due to exception in another thread')
|
||||
break
|
||||
|
|
Loading…
Add table
Reference in a new issue