aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-05 20:46:25 -0700
committerfriendica <info@friendica.com>2013-08-05 20:46:25 -0700
commitd467544bb78bd14c89393179af5af26b339e1ecf (patch)
treee74e082885304351135a7fc1aaadf64686478c4e /include/socgraph.php
parent790c6507d5d9d914f9e9e546256ee2741d6df400 (diff)
downloadvolse-hubzilla-d467544bb78bd14c89393179af5af26b339e1ecf.tar.gz
volse-hubzilla-d467544bb78bd14c89393179af5af26b339e1ecf.tar.bz2
volse-hubzilla-d467544bb78bd14c89393179af5af26b339e1ecf.zip
fine tuning the error checks
Diffstat (limited to 'include/socgraph.php')
-rw-r--r--include/socgraph.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index 73ece26ba..177ed0f3a 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -50,7 +50,12 @@ function poco_load($xchan = '',$url = null) {
$s = z_fetch_url($url);
if(! $s['success']) {
- logger('poco_load: returns ' . print_r($s,true));
+ if($s['return_code'] == 401)
+ logger('poco_load: protected');
+ elseif($s['return_code'] == 404)
+ logger('poco_load: nothing found');
+ else
+ logger('poco_load: returns ' . print_r($s,true));
return;
}