aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-09 11:31:20 +0000
committerMario <mario@mariovavti.com>2020-11-09 11:31:20 +0000
commitcddae143529f3acb9586ce3517d356925e819055 (patch)
tree1d4633a1f6f45b946e9314721bba144193480ba5
parentb3e6a3c1e2cb086788f41252e872d6a131fcca90 (diff)
downloadvolse-hubzilla-cddae143529f3acb9586ce3517d356925e819055.tar.gz
volse-hubzilla-cddae143529f3acb9586ce3517d356925e819055.tar.bz2
volse-hubzilla-cddae143529f3acb9586ce3517d356925e819055.zip
do not log exception - it could exhaust memory
-rw-r--r--Zotlabs/Lib/LDSignatures.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php
index 16c8cfc18..2eba66ccf 100644
--- a/Zotlabs/Lib/LDSignatures.php
+++ b/Zotlabs/Lib/LDSignatures.php
@@ -93,7 +93,8 @@ class LDSignatures {
$d = jsonld_normalize($data,[ 'algorithm' => 'URDNA2015', 'format' => 'application/nquads' ]);
}
catch (\Exception $e) {
- logger('normalise error:' . print_r($e,true));
+ // Don't log the exception - this can exhaust memory
+ // logger('normalise error:' . print_r($e,true));
logger('normalise error: ' . print_r($data,true));
}