aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-28 19:20:11 -0700
committerzotlabs <mike@macgirvin.com>2017-06-28 19:20:11 -0700
commitb91d95d2418237f4344fa0906dd47815e20de2e9 (patch)
tree0ca4d85c8f1bd786cc9bd144e8bf2bfed6be7358 /include
parent8ca5a65dcfd9dc5875f76cbec7b6a8601abc7128 (diff)
downloadvolse-hubzilla-b91d95d2418237f4344fa0906dd47815e20de2e9.tar.gz
volse-hubzilla-b91d95d2418237f4344fa0906dd47815e20de2e9.tar.bz2
volse-hubzilla-b91d95d2418237f4344fa0906dd47815e20de2e9.zip
add logging
Diffstat (limited to 'include')
-rw-r--r--include/feedutils.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 8c2a7a8d7..937a2d28c 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -1242,11 +1242,14 @@ function feed_conversation_fetch($importer,$contact,$parent_link) {
if(! $link)
return false;
+ logger('fetching: ' . $link, LOGGER_DEBUG, LOG_INFO);
+
$fetch = z_fetch_url($link);
if(! $fetch['success'])
return false;
+
consume_feed($fetch['body'],$importer,$contact,1);
consume_feed($fetch['body'],$importer,$contact,2);