Skip to content

Commit

Permalink
fix: iostream exception alias
Browse files Browse the repository at this point in the history
  • Loading branch information
dawncold committed Sep 19, 2017
1 parent 34c43f4 commit f7046cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/iostream.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def _handle_events(self, fd, events):
except UnsatisfiableReadError as e:
gen_log.info("Unsatisfiable read, closing connection: %s" % e)
self.close(exc_info=e)
except Exception:
except Exception as e:
gen_log.error("Uncaught exception, closing connection.",
exc_info=True)
self.close(exc_info=e)
Expand Down

0 comments on commit f7046cf

Please sign in to comment.