dispatcher: style fix

This commit is contained in:
Noam Meltzer 2016-04-25 10:19:39 +03:00
parent 78d1faa21e
commit c5ad34b074

View file

@ -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')