mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
dispatcher: style fix
This commit is contained in:
parent
78d1faa21e
commit
c5ad34b074
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ class Dispatcher(object):
|
|||
|
||||
try:
|
||||
self.dispatchError(update, te)
|
||||
except:
|
||||
except Exception:
|
||||
self.logger.exception(
|
||||
'An uncaught error was raised while '
|
||||
'handling the error')
|
||||
|
@ -195,7 +195,7 @@ class Dispatcher(object):
|
|||
break
|
||||
|
||||
# Errors should not stop the thread
|
||||
except:
|
||||
except Exception:
|
||||
self.logger.exception(
|
||||
'An uncaught error was raised while '
|
||||
'processing the update')
|
||||
|
|
Loading…
Add table
Reference in a new issue