Statusnet: Improved error handling
parent
ccbcd2ab16
commit
467f1f00f2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue