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

Commit

Permalink
Fix an unhelpful error message
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Mar 9, 2016
1 parent e5aaed3 commit cae8d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,7 @@ Changes by Version
0.21.7 (unreleased)
-------------------

- Nothing changed yet.
- Fixed an unhelpful stack trace on failed reads.


0.21.6 (2016-03-08)
Expand Down
2 changes: 1 addition & 1 deletion tchannel/tornado/connection.py
Expand Up @@ -653,7 +653,7 @@ def fill(self):
def keep_reading(f):
if f.exception():
self.filling = False
return log.exception(f.exception())
return log.error("read error", exc_info=f.exc_info())
# connect these two in the case when put blocks
self.queue.put(f.result()).add_done_callback(
lambda f: io_loop.spawn_callback(self.fill),
Expand Down

0 comments on commit cae8d26

Please sign in to comment.