MCPcopy
hub / github.com/tornadoweb/tornado / _handle_exception

Method _handle_exception

tornado/testing.py:224–234  ·  view source on GitHub ↗
(
        self, typ: Type[Exception], value: Exception, tb: TracebackType
    )

Source from the content-addressed store, hash-verified

222 return IOLoop(make_current=False)
223
224 def _handle_exception(
225 self, typ: Type[Exception], value: Exception, tb: TracebackType
226 ) -> bool:
227 if self.__failure is None:
228 self.__failure = (typ, value, tb)
229 else:
230 app_log.error(
231 "multiple unhandled exceptions in test", exc_info=(typ, value, tb)
232 )
233 self.stop()
234 return True
235
236 def __rethrow(self) -> None:
237 if self.__failure is not None:

Callers

nothing calls this directly

Calls 1

stopMethod · 0.95

Tested by

no test coverage detected