diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Log.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index d93b29414e6..39577d2387a 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -331,6 +331,9 @@ class Log implements ILogger { 'Line' => $exception->getLine(), ); $data['Trace'] = preg_replace('!(' . implode('|', $this->methodsWithSensitiveParameters) . ')\(.*\)!', '$1(*** sensitive parameters replaced ***)', $data['Trace']); + if ($exception instanceof HintException) { + $data['Hint'] = $exception->getHint(); + } $msg = isset($context['message']) ? $context['message'] : 'Exception'; $msg .= ': ' . json_encode($data); $this->log($level, $msg, $context); |