Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Apr 6, 2016
1 parent 56f122d commit 963f7c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tchannel/tornado/dispatch.py
Expand Up @@ -258,7 +258,11 @@ def _on_post_response(future):
connection.request_message_factory.remove_buffer(response.id)

connection.send_error(error)
tchannel.event_emitter.fire(EventType.on_exception, request, error)
tchannel.event_emitter.fire(
EventType.on_exception,
request,
error,
)
log.error("Unexpected error", exc_info=sys.exc_info())
finally:
# Clean up circular reference.
Expand Down

0 comments on commit 963f7c4

Please sign in to comment.