Statusnet: Improved error handling

pull/218/head
Michael Vogel 2014-10-13 20:49:46 +02:00
parent ccbcd2ab16
commit 467f1f00f2
1 changed files with 1 additions and 1 deletions

View File

@ -1338,7 +1338,7 @@ function statusnet_fetchhometimeline($a, $uid) {
$items = $connection->get('statuses/home_timeline', $parameters); $items = $connection->get('statuses/home_timeline', $parameters);
if (!is_array($items)) { 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; return;
} }