Added logging and one more reason for a notice found (#5538)

* Added logging and one more reason for a notice found

* And one more
This commit is contained in:
Michael Vogel 2018-08-01 08:47:18 +02:00 committed by Tobias Diekershoff
parent 9d0f18c0b3
commit 1afc0ab028
3 changed files with 14 additions and 8 deletions

View file

@ -944,6 +944,11 @@ class Probe
$prof_data["fn"] = $data["name"];
$prof_data["key"] = $data["pubkey"];
// This logging is for temporarily debugging reasons
if (!isset($data["poco"])) {
logger('POCO not defined for ' . profile_link, LOGGER_DEBUG);
}
logger("Result for profile ".$profile_link.": ".print_r($prof_data, true), LOGGER_DEBUG);
return $prof_data;