aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-11 14:56:31 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-11 14:56:31 -0700
commitfc58b8cc0d102dc838c9f8fda584a1b87b08c6da (patch)
treea136b69b4da070b09c04ef9f94b15cf2d0a87ad0 /include/zot.php
parente062c4e6b54c6162d118f8657eb6f81c971f0dd8 (diff)
downloadvolse-hubzilla-fc58b8cc0d102dc838c9f8fda584a1b87b08c6da.tar.gz
volse-hubzilla-fc58b8cc0d102dc838c9f8fda584a1b87b08c6da.tar.bz2
volse-hubzilla-fc58b8cc0d102dc838c9f8fda584a1b87b08c6da.zip
log the remote message if there was one
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 82199ab1c..d59329da4 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1089,8 +1089,11 @@ function zot_import($arr, $sender_url) {
$data = json_decode(crypto_unencapsulate($data,get_config('system','prvkey')),true);
}
- if(! $data['success'])
+ if(! $data['success']) {
+ if($data['message'])
+ logger('remote pickup failed: ' . $data['message']);
return false;
+ }
$incoming = $data['pickup'];