提交 743b73a4 编写于 作者: M MRXLT

refine grpc client error msg

上级 ae539473
......@@ -643,7 +643,7 @@ class MultiLangClient(object):
self.profile_.print_profile()
return ret
except grpc.RpcError as e:
return {"serving_status_code": e.code()}
return {"serving_grpc_error": e}
else:
req = self._pack_inference_request(
feed, fetch, is_python=is_python, log_id=log_id)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册