$target was klantigtly copied from another debug message

This commit is contained in:
Mikael Nordfeldth 2016-01-11 20:10:38 +01:00
parent bd6efa0e45
commit c826fe0af4

View File

@ -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.