Statusnet: Improved error handling

This commit is contained in:
Michael Vogel 2014-10-13 20:49:46 +02:00
parent ccbcd2ab16
commit 467f1f00f2

View file

@ -1338,7 +1338,7 @@ function statusnet_fetchhometimeline($a, $uid) {
$items = $connection->get('statuses/home_timeline', $parameters);
if (!is_array($items)) {
logger("statusnet_fetchhometimeline: Error fetching home timeline: ".print_r($items, true), LOGGER_DEBUG);
logger("statusnet_fetchhometimeline: Error fetching home timeline: ".$items, LOGGER_DEBUG);
return;
}