From: Mikael Nordfeldth Date: Mon, 11 Jan 2016 19:10:38 +0000 (+0100) Subject: $target was klantigtly copied from another debug message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c826fe0af4f23267b579f60632aadbb89d767f91;p=quix0rs-gnu-social.git $target was klantigtly copied from another debug message --- diff --git a/plugins/OStatus/classes/HubSub.php b/plugins/OStatus/classes/HubSub.php index 68151b19a1..4d4b3e429b 100644 --- a/plugins/OStatus/classes/HubSub.php +++ b/plugins/OStatus/classes/HubSub.php @@ -307,7 +307,7 @@ class HubSub extends Managed_DataObject if (is_null($response)) { // This means we got a lower-than-HTTP level error, like domain not found or maybe connection refused // This should be using a more distinguishable exception class, but for now this will do. - throw new Exception(sprintf(_m('HTTP request failed without response to URL: %s'), var_export($target, true))); + throw new Exception(sprintf(_m('HTTP request failed without response to URL: %s'), _ve(isset($httpscallback) ? $httpscallback : $this->callback))); } // TRANS: Exception. %1$s is a response status code, %2$s is the body of the response.