From c826fe0af4f23267b579f60632aadbb89d767f91 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 11 Jan 2016 20:10:38 +0100 Subject: [PATCH] $target was klantigtly copied from another debug message --- plugins/OStatus/classes/HubSub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.