We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83fe9d0 commit 92ea7a0Copy full SHA for 92ea7a0
src/Client/HttpExceptionHandler.php
@@ -82,6 +82,6 @@ protected function getResponseMessage(ResponseInterface $response)
82
$decodedBody = json_decode($responseBody->getContents(), true);
83
$responseBody->rewind();
84
85
- return $decodedBody['message'] ?? $response->getReasonPhrase();
+ return $decodedBody['message'] ?? $response->getReasonPhrase() . ' - ' . $responseBody->getContents();
86
}
87
0 commit comments