We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8aabde commit 7e9784dCopy full SHA for 7e9784d
python/paddle/jit/sot/opcode_translator/executor/opcode_executor.py
@@ -2166,7 +2166,7 @@ def raise_sot_captured_exception(
2166
exc_type, self._graph, DummyTracker(list(args))
2167
).call_function(*args, **kwargs)
2168
self.exception_stack.set_current_exception(exc, self._graph)
2169
- raise SotCapturedExceptionFactory.get(exc_type)
+ raise SotCapturedExceptionFactory.create(exc.get_py_value())
2170
2171
2172
class OpcodeExecutor(OpcodeExecutorBase):
0 commit comments