Commit 906b84a6 authored by jhodgdon's avatar jhodgdon

Issue #2170519 by longwave, kim.pepper: Fix comments in TestBase to add missing class names

parent 5d4d6b1c
......@@ -1204,9 +1204,8 @@ protected function exceptionHandler($exception) {
'line' => $exception->getLine(),
'file' => $exception->getFile(),
));
// The exception message is run through
// \Drupal\Component\Utility\checkPlain() by
// \Drupal\Core\Utility\decodeException().
// \Drupal\Core\Utility\Error::decodeException() runs the exception
// message through \Drupal\Component\Utility\String::checkPlain().
$decoded_exception = Error::decodeException($exception);
unset($decoded_exception['backtrace']);
$message = format_string('%type: !message in %function (line %line of %file). <pre class="backtrace">!backtrace</pre>', $decoded_exception + array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment