Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: local/lib/python2.7/site-packages/tornado/concurrent.py (Line: 238)
- Function: result
- 231 before the `Future` is done, so the ``timeout`` is never used.
- 232 """
- 233 self._clear_tb_log()
- 234 if self._result is not None:
- 235 return self._result
- 236 if self._exc_info is not None:
- 237 try:
- 238 ==> raise_exc_info(self._exc_info)
- 239 finally:
- 240 self = None
- 241 self._check_done()
- 242 return self._result
- 243
- 244 def exception(self, timeout=None):
- Variables:
- self = None
- timeout = None
- ------------------------------------------------------------------------
- File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 910)
- Function: error_callback
- 903 result = Future()
- 904 chain_future(future, result)
- 905 if io_loop is None:
- 906 io_loop = IOLoop.current()
- 907
- 908 def error_callback(future):
- 909 try:
- 910 ==> future.result()
- 911 except Exception as e:
- 912 if not isinstance(e, quiet_exceptions):
- 913 app_log.error("Exception in Future %r after timeout",
- 914 future, exc_info=True)
- 915
- 916 def timeout_callback():
- Variables:
- future = <tornado.concurrent.Future object at 0x7fce7d9017d0>
- e = StreamClosedError('Stream is closed',)
- quiet_exceptions = ()
- ------------------------------------------------------------------------
- END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement