diff options
author | Mario <mario@mariovavti.com> | 2020-11-09 11:31:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-09 11:31:20 +0000 |
commit | cddae143529f3acb9586ce3517d356925e819055 (patch) | |
tree | 1d4633a1f6f45b946e9314721bba144193480ba5 /Zotlabs | |
parent | b3e6a3c1e2cb086788f41252e872d6a131fcca90 (diff) | |
download | volse-hubzilla-cddae143529f3acb9586ce3517d356925e819055.tar.gz volse-hubzilla-cddae143529f3acb9586ce3517d356925e819055.tar.bz2 volse-hubzilla-cddae143529f3acb9586ce3517d356925e819055.zip |
do not log exception - it could exhaust memory
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/LDSignatures.php | 3 |
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)); } |