]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
fix: iostream exception alias 2155/head
authorTianZhen <loooseleaves@gmail.com>
Tue, 19 Sep 2017 09:44:15 +0000 (17:44 +0800)
committerTianZhen <loooseleaves@gmail.com>
Tue, 19 Sep 2017 09:44:15 +0000 (17:44 +0800)
tornado/iostream.py

index 6097e971207ffa0609154e00bba19d3942027119..632952b524d32ea69b6d3d3764f05ee58d1ed40b 100644 (file)
@@ -554,7 +554,7 @@ class BaseIOStream(object):
         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)