diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Log.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index c139510a3b3..bee36575520 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -359,6 +359,7 @@ class Log implements ILogger, IDataLogger { $context['level'] = $level; } catch (Throwable $e) { // make sure we dont hard crash if logging fails + error_log('Error when trying to log exception: ' . $e->getMessage() . ' ' . $e->getTraceAsString()); } } |