From 467f1f00f2392817f07214fb7f7ea927ac307daf Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 13 Oct 2014 20:49:46 +0200 Subject: [PATCH] Statusnet: Improved error handling --- statusnet/statusnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index c3591356b..959d598a9 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; }