X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fqueuemonitor.php;h=1790a5cd67585f82236ef10f12b587ac91a44542;hb=8c9efff1ace2d5e466691abf038f096eb5dd5f51;hp=ecc76197cfe777b2ba42febf3a7b4ba07734c422;hpb=e94017a552a9487d35f160c75f98d00ff2d5c236;p=quix0rs-gnu-social.git diff --git a/lib/queuemonitor.php b/lib/queuemonitor.php index ecc76197cf..1790a5cd67 100644 --- a/lib/queuemonitor.php +++ b/lib/queuemonitor.php @@ -102,8 +102,10 @@ class QueueMonitor if (!$result->isOk()) { common_log(LOG_ERR, __METHOD__ . ' HTTP ' . $result->getStatus() . ': ' . $result->getBody()); } + } catch (NoHttpResponseException $e) { + common_log(LOG_ERR, __METHOD__ . ':'.$e->getMessage()); } catch (HTTP_Request2_Exception $e) { - common_log(LOG_ERR, __METHOD__ . ' HTTP request generated PHP level error (check logs, could be DNS failure etc.). URL: '.var_export($target,true)); + common_log(LOG_ERR, __CLASS__ . ": Invalid $code redirect from $url to $target"); } }