Skip to content
Snippets Groups Projects
Commit 906b84a6 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

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

parent 5d4d6b1c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment