aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-07 18:14:04 -0700
committerzotlabs <mike@macgirvin.com>2017-09-07 18:14:04 -0700
commitf09fe8da7814a64e653700b4fe04f165edd90045 (patch)
treed600283ce656d88905d3cad32c1aa42a62ffef7b
parent4d794103be4112a6f1f0d8f54e0d54c0961297b5 (diff)
downloadvolse-hubzilla-f09fe8da7814a64e653700b4fe04f165edd90045.tar.gz
volse-hubzilla-f09fe8da7814a64e653700b4fe04f165edd90045.tar.bz2
volse-hubzilla-f09fe8da7814a64e653700b4fe04f165edd90045.zip
add logging
-rw-r--r--Zotlabs/Module/Magic.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Magic.php b/Zotlabs/Module/Magic.php
index 0eb2f27a1..3fe0e1e35 100644
--- a/Zotlabs/Module/Magic.php
+++ b/Zotlabs/Module/Magic.php
@@ -144,6 +144,9 @@ class Magic extends \Zotlabs\Web\Controller {
'acct:' . $channel['channel_address'] . '@' . \App::get_hostname(),false,true,'sha512');
$x = z_fetch_url($basepath . '/owa',false,$redirects,[ 'headers' => $headers ]);
+
+ logger('owtfetch: ' . print_r($x,true));
+
if($x['success']) {
$j = json_decode($x['body'],true);
if($j['success'] && $j['token']) {