Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekliptor authored and Ekliptor committed Jul 26, 2019
1 parent e2863aa commit 3711aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockchainApi/Http/WordpressHttpAgent.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function __construct(callable $loggerFn = null, array $options = array())
public function get(string $url, array $options = array()) {
$response = wp_remote_get($url, $this->getHttpOptions($options));
if ($response instanceof \WP_Error) {
$this->logError("Error on HTTP GET", $response->get_error_messages());
$this->logError("Error on HTTP GET $url", $response->get_error_messages());
return false;
}
$body = wp_remote_retrieve_body($response);
Expand Down

0 comments on commit 3711aa1

Please sign in to comment.