提交 f7105adc 编写于 作者: S strint 提交者: GitHub

default show cpp error stack frame (#3948)



Former-commit-id: ee7b17e2
上级 68275bed
......@@ -31,8 +31,6 @@ class JobBuildAndInferError(Exception):
self.msg_ = self.error_proto_.msg
self.error_proto_.ClearField("msg")
resource = session_ctx.GetDefaultSession().config_proto.resource
if resource.enable_debug_mode == False:
self.error_proto_.ClearField("stack_frame")
def get_op_kernel_not_found_error_str(error_proto):
error_msg = str(self.error_proto_.op_kernel_not_found_error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册