mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 22:43:41 +00:00
Statusnet: Improved error handling
This commit is contained in:
parent
ccbcd2ab16
commit
467f1f00f2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue