]> git.ipfire.org Git - thirdparty/tornado.git/commit
gen.multi_future and gen.Multi log any exceptions after the first.
authorBen Darnell <ben@bendarnell.com>
Sun, 29 Mar 2015 18:04:46 +0000 (14:04 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 29 Mar 2015 18:04:46 +0000 (14:04 -0400)
commitc95843cf7cede8afdca567acb94553e876baa7d0
treef2fe010f20dba07a9a68ea660cd345db5740bf77
parentb5b0b37ad0fe33cb8a46ac2d710212314e71383b
gen.multi_future and gen.Multi log any exceptions after the first.

They were already logged when the Future was GC'd, but this is
cleaner and more reliable than the destructor hook.

See #1378.
tornado/gen.py
tornado/test/gen_test.py