summaryrefslogtreecommitdiffstats
path: root/lib/private/Log.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r--lib/private/Log.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php
index a41c728df0d..bed0321bef3 100644
--- a/lib/private/Log.php
+++ b/lib/private/Log.php
@@ -351,6 +351,7 @@ class Log implements ILogger {
$msg = isset($context['message']) ? $context['message'] : 'Exception';
$msg .= ': ' . json_encode($data);
$this->log($level, $msg, $context);
+ $context['level'] = $level;
if (!is_null($this->crashReporters)) {
$this->crashReporters->delegateReport($exception, $context);
}