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 1beada1 commit 560646fCopy full SHA for 560646f
src/Request.php
@@ -234,8 +234,8 @@ public function send(): Response
234
$responseBody = $response->getBody()->getContents();
235
236
return new Response($responseBody);
237
- } catch (GuzzleException $e) {
238
- throw new \Exception($e->getMessage());
+ } catch (\Exception $e) {
+ throw new \Exception($e->getResponse()->getBody()->getContents());
239
}
240
241
0 commit comments