Skip to content

Commit b6c8ab7

Browse files
Merge pull request #509 from kingIZZZY/psr7-str-undefined
undefined function GuzzleHttp\Psr7\str() - fix #475 #493
2 parents 8d04463 + 7d1f606 commit b6c8ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/HttpClients/GuzzleHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function makeAPICall($url, $method, array $headers, $body, $timeOut, $ver
5757
return $this->getLastResponse();
5858
} catch(RequestException $e){
5959
if($e->hasResponse()){
60-
throw new SdkException("A networking error occurs during Guzzle client request:" . Psr7\str($e->getResponse()));
60+
throw new SdkException("A networking error occurs during Guzzle client request:" . Psr7\Message::toString($e->getResponse()));
6161
}else{
6262
throw new SdkException("Network Error:" . $e->getMessage());
6363
}

0 commit comments

Comments
 (0)