]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Better logging for issue #205
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 2 Jul 2016 11:32:23 +0000 (13:32 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 2 Jul 2016 11:32:23 +0000 (13:32 +0200)
plugins/LRDD/lib/discovery.php

index 6818e125573c3c741af891a273b984bcbad0f4c1..579f414bc67fe772ac367df516f65e791a4e7040 100644 (file)
@@ -125,6 +125,7 @@ class Discovery
                 $xrd->loadString($response->getBody());
                 return $xrd;
             } catch (Exception $e) {
+                common_log(LOG_INFO, sprintf('%s: Failed for %s: %s', _ve($class), _ve($uri), _ve($e->getMessage())));
                 continue;
             }
         }