diff --git a/python/paddle_serving_client/__init__.py b/python/paddle_serving_client/__init__.py index d350b5842b283af3182bdc0348d977ede1129e6e..2ac320661f9bbb38d0ec403cf2c2abe47e0dd494 100644 --- a/python/paddle_serving_client/__init__.py +++ b/python/paddle_serving_client/__init__.py @@ -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)