]> git.mxchange.org Git - friendica-addons.git/commitdiff
Statusnet: Improved error handling
authorMichael Vogel <icarus@dabo.de>
Mon, 13 Oct 2014 18:49:46 +0000 (20:49 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 13 Oct 2014 18:49:46 +0000 (20:49 +0200)
statusnet/statusnet.php

index c3591356b6237c035b79edea23bc934b58e8a533..959d598a9b9ec07e570aba007f61339c277adea4 100644 (file)
@@ -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;
        }