diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-11 14:56:31 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-11 14:56:31 -0700 |
commit | fc58b8cc0d102dc838c9f8fda584a1b87b08c6da (patch) | |
tree | a136b69b4da070b09c04ef9f94b15cf2d0a87ad0 /include | |
parent | e062c4e6b54c6162d118f8657eb6f81c971f0dd8 (diff) | |
download | volse-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')
-rw-r--r-- | include/zot.php | 5 |
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']; |