Skip to content

Commit

Permalink
protocol: silence pylint about broad exception handling
Browse files Browse the repository at this point in the history
Though in this spot, catching all exceptions is an awful idea.

To be addressed in issue #90.
  • Loading branch information
RemiCardona committed Jul 19, 2016
1 parent 82a8197 commit b1d1102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioamqp/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def run(self):
self.stop_now.set_result(None)

self._close_channels(exception=exc)
except Exception:
except Exception: # pylint: disable=broad-except
logger.exception('error on dispatch')

@asyncio.coroutine
Expand Down

0 comments on commit b1d1102

Please sign in to comment.