This commit is contained in:
2022-05-31 11:48:20 +08:00
parent e6b10bbd70
commit dd85596907
+2 -2
View File
@@ -121,8 +121,8 @@ class CoroutineClient extends ClientAbstracts
} else { } else {
Context::remove('retry'); Context::remove('retry');
$this->setStatusCode(curl_errno($this->client)); $this->setStatusCode($this->client->statusCode);
$this->setBody(curl_error($this->client)); $this->setBody($this->client->errMsg);
} }
} }