From: Michael Vogel Date: Mon, 13 Oct 2014 18:49:46 +0000 (+0200) Subject: Statusnet: Improved error handling X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=467f1f00f2392817f07214fb7f7ea927ac307daf;p=friendica-addons.git Statusnet: Improved error handling --- diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index c3591356..959d598a 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -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; }