Skip to content

Commit 14c7f4b

Browse files
author
Vincent Chalnot
committed
Fixing bug when handling HttpException
1 parent 11eaabc commit 14c7f4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Client/ApiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ protected function getResponseData(
135135
try {
136136
$response = $this->client->sendRequest($request);
137137
} catch (HttpException $e) {
138-
throw ApiRequestException::create($request->getUri(), $e);
138+
throw ApiRequestException::create((string) $request->getUri(), $e);
139139
}
140140
$body = (string) $response->getBody();
141141
$this->logger->debug(

0 commit comments

Comments
 (0)