Commit 3922eb48 authored by Claudiu Cristea's avatar Claudiu Cristea
Browse files

Issue #3323095 by claudiu.cristea: PHP warning

parent 981bd643
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ class ErrorPageErrorHandler {
        // Provide the PHP backtrace and exception to logger implementations.
        // Add 'severity_level' to the context to maintain BC and allow logging
        // implementations to use it.
        \Drupal::logger('php')->log($error['severity_level'], '%type: @message in %function (line %line of %file) [@uuid] @backtrace_string', $error + [
        \Drupal::logger('php')->log($severity, '%type: @message in %function (line %line of %file) [@uuid] @backtrace_string', $error + [
          'backtrace' => $backtrace,
          'exception' => $exception,
          'severity_level' => $severity,