NoHttpResponseException extends HTTP_Request2_ConnectionException

This commit is contained in:
Mikael Nordfeldth
2016-02-07 01:52:20 +01:00
parent 55546a5aab
commit 098c8b1df4
5 changed files with 7 additions and 6 deletions

View File

@@ -355,8 +355,6 @@ class HTTPClient extends HTTP_Request2
continue;
} catch (HTTP_Request2_Exception $e) {
common_log(LOG_ERR, __CLASS__ . ": Invalid $code redirect from $url to $target");
} catch (NoHttpResponseException $e) {
common_log(LOG_ERR, __CLASS__ . ": {$e->getMessage()}");
}
} else {
$reason = $response->getReasonPhrase();