log the remote message if there was one
This commit is contained in:
parent
e062c4e6b5
commit
fc58b8cc0d
@ -1089,8 +1089,11 @@ function zot_import($arr, $sender_url) {
|
|||||||
$data = json_decode(crypto_unencapsulate($data,get_config('system','prvkey')),true);
|
$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;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$incoming = $data['pickup'];
|
$incoming = $data['pickup'];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user