Skip to content

Commit

Permalink
fix response error
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-melnikov committed Jan 22, 2018
1 parent 8563591 commit 004e16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public function send()
$msg = $exception->getRequest();

if ( $exception->hasResponse() ) {
$msg = $exception->getResponse();
$msg = $exception->getResponse()->getBody()->getContents();
}
}
}
Expand Down

0 comments on commit 004e16f

Please sign in to comment.