diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socgraph.php | 7 |
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; } |