]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/queuemonitor.php
Merge branch 'issue-326' into 'master'
[quix0rs-gnu-social.git] / lib / queuemonitor.php
index ecc76197cfe777b2ba42febf3a7b4ba07734c422..1790a5cd67585f82236ef10f12b587ac91a44542 100644 (file)
@@ -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");
         }
     }