MCPcopy
hub / github.com/opendevops-cn/opendevops / error_callback

Function error_callback

scripts/tornado_source_code/tornado/gen.py:587–594  ·  view source on GitHub ↗
(future: Future)

Source from the content-addressed store, hash-verified

585 io_loop = IOLoop.current()
586
587 def error_callback(future: Future) -> None:
588 try:
589 future.result()
590 except Exception as e:
591 if not isinstance(e, quiet_exceptions):
592 app_log.error(
593 "Exception in Future %r after timeout", future, exc_info=True
594 )
595
596 def timeout_callback() -> None:
597 if not result.done():

Callers

nothing calls this directly

Calls 1

resultMethod · 0.80

Tested by

no test coverage detected