diff --git a/src/Core/HttpClients/GuzzleHttpClient.php b/src/Core/HttpClients/GuzzleHttpClient.php index 490ad40e..2e92e912 100644 --- a/src/Core/HttpClients/GuzzleHttpClient.php +++ b/src/Core/HttpClients/GuzzleHttpClient.php @@ -57,7 +57,7 @@ public function makeAPICall($url, $method, array $headers, $body, $timeOut, $ver return $this->getLastResponse(); } catch(RequestException $e){ if($e->hasResponse()){ - throw new SdkException("A networking error occurs during Guzzle client request:" . Psr7\str($e->getResponse())); + throw new SdkException("A networking error occurs during Guzzle client request:" . Psr7\Message::toString($e->getResponse())); }else{ throw new SdkException("Network Error:" . $e->getMessage()); }