]> git.mxchange.org Git - friendica.git/blobdiff - include/Probe.php
Workaround for vanished database connections while authentication
[friendica.git] / include / Probe.php
index aa9f7d21df6eb858a9ddf0be5c083793a0b8a698..14e8d5bcad8ab2593547a100bb12c3fa09a365bf 100644 (file)
@@ -569,6 +569,8 @@ class Probe {
 
                $data = array();
 
+               logger("Check profile ".$profile, LOGGER_DEBUG);
+
                // Fetch data via noscrape - this is faster
                $noscrape = str_replace(array("/hcard/", "/profile/"), "/noscrape/", $profile);
                $data = self::poll_noscrape($noscrape, $data);
@@ -591,6 +593,8 @@ class Probe {
                $prof_data["fn"] = $data["name"];
                $prof_data["key"] = $data["pubkey"];
 
+               logger("Result for profile ".$profile.": ".print_r($prof_data, true), LOGGER_DEBUG);
+
                return $prof_data;
        }