We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fca823 + 1dcc855 commit 3a9abb2Copy full SHA for 3a9abb2
1 file changed
lib/private/Log.php
@@ -359,6 +359,7 @@ public function logData(string $message, array $data, array $context = []): void
359
$context['level'] = $level;
360
} catch (Throwable $e) {
361
// make sure we dont hard crash if logging fails
362
+ error_log('Error when trying to log exception: ' . $e->getMessage() . ' ' . $e->getTraceAsString());
363
}
364
365
0 commit comments