Skip to content

Commit

Permalink
add get rawData to error exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bladeroot committed Mar 12, 2018
1 parent 5460e99 commit 3760c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ResponseErrorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ protected function getErrorInfo()

return [
'statusCode' => $response->getStatusCode(),
'data' => $response->getData(),
'headers' => $response->getHeaders(),
'rawData' => $response->getRawData(),
'data' => $response->getData(),
'request' => [
'method' => $request->getMethod(),
'uri' => $request->getFullUri(),
Expand Down

0 comments on commit 3760c4b

Please sign in to comment.