add logging
This commit is contained in:
parent
8ca5a65dcf
commit
b91d95d241
@ -1242,11 +1242,14 @@ function feed_conversation_fetch($importer,$contact,$parent_link) {
|
|||||||
if(! $link)
|
if(! $link)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
logger('fetching: ' . $link, LOGGER_DEBUG, LOG_INFO);
|
||||||
|
|
||||||
$fetch = z_fetch_url($link);
|
$fetch = z_fetch_url($link);
|
||||||
|
|
||||||
if(! $fetch['success'])
|
if(! $fetch['success'])
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
||||||
consume_feed($fetch['body'],$importer,$contact,1);
|
consume_feed($fetch['body'],$importer,$contact,1);
|
||||||
consume_feed($fetch['body'],$importer,$contact,2);
|
consume_feed($fetch['body'],$importer,$contact,2);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user