From fc58b8cc0d102dc838c9f8fda584a1b87b08c6da Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 11 Sep 2015 14:56:31 -0700 Subject: log the remote message if there was one --- include/zot.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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']; -- cgit v1.2.3