Skip to content

Commit

Permalink
fix issue #179
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Oct 29, 2018
1 parent 4eb40ca commit d656f72
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ protected Response fromRequest( final Request req, final String description ) {
final Response res = client.build().newCall(req).execute();

if( !res.isSuccessful() ) {
throw new ServiceException( format("error: %s\n%s", description, res.toString()), res);
throw new ServiceException(
format("error: %s\n%s\n%s", description, res.toString(),res.body().string()), res);
}

return res;
Expand Down

0 comments on commit d656f72

Please sign in to comment.