diff --git a/src/Core/Exception/UCloudException.php b/src/Core/Exception/UCloudException.php index 113fcd41..4d9b682f 100644 --- a/src/Core/Exception/UCloudException.php +++ b/src/Core/Exception/UCloudException.php @@ -50,7 +50,7 @@ public function __construct($type, $message = "", $retCode = 0, $previous = null { $this->type = $type; $this->requestId = $requestId; - $this->response = $response; + $this->response = $response parent::__construct($message, $retCode, $previous); } diff --git a/src/Core/Transport/Transport.php b/src/Core/Transport/Transport.php index 8d096f34..3215cdf1 100644 --- a/src/Core/Transport/Transport.php +++ b/src/Core/Transport/Transport.php @@ -87,8 +87,7 @@ public function invoke(Request $req) $resp->getMessage(), $resp->getRetCode(), null, - $requestId, - $resp + $requestId ); } return $resp;