MCPcopy Create free account
hub / github.com/SplootCode/splootcode / __exit__

Method __exit__

python/executor.py:784–791  ·  view source on GitHub ↗
(self, exc_type, exc_value, exc_tb)

Source from the content-addressed store, hash-verified

782 self.capture.startDetachedFrame("PYTHON_FUNCTION_CALL", "body", self.func_id)
783
784 def __exit__(self, exc_type, exc_value, exc_tb):
785 if exc_type:
786 if self.cap:
787 self.capture.logTracedException(exc_value)
788 self.capture.addExceptionFrame(self.func_id, self.frame_no, exc_tb.tb_lineno, exc_value)
789
790 if self.cap:
791 self.capture.endFrameType("PYTHON_FUNCTION_CALL")
792
793
794class SplootCapture:

Callers

nothing calls this directly

Calls 3

logTracedExceptionMethod · 0.80
addExceptionFrameMethod · 0.80
endFrameTypeMethod · 0.80

Tested by

no test coverage detected