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