Skip to content

Commit

Permalink
requireOK now uses the response body rather than the curl error to re…
Browse files Browse the repository at this point in the history
…spond to errors
  • Loading branch information
dcarbone committed Jul 21, 2016
1 parent 90f2d2f commit 5d25187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function requireOK(array $requestResult)
get_class($this),
$requestResult[1]->url,
$requestResult[1]->httpCode,
$requestResult[1]->curlError
$requestResult[1]->body
));

Logger::error($err);
Expand Down

0 comments on commit 5d25187

Please sign in to comment.