Skip to content
Snippets Groups Projects
Commit 0aa47d34 authored by Marc Egger's avatar Marc Egger
Browse files

Refs #11035 AbstractException.php: also catch Errors during report editor rendering

parent d5b53418
No related branches found
No related tags found
2 merge requests!302Develop,!296Marc: Form/Report As File, Path class, Config class, Typo3 v9 compatability
Pipeline #3742 failed
......@@ -175,7 +175,9 @@ class AbstractException extends \Exception {
$arrMerged[ERROR_MESSAGE_TO_DEVELOPER] = QuickFormQuery::buildInlineReport(\UserReportException::$report_uid,
\UserReportException::$report_pathFileName, \UserReportException::$report_bodytext,
\UserReportException::$report_header) . $arrMerged[ERROR_MESSAGE_TO_DEVELOPER];
} catch (\Exception $e) {}
} catch (\Error | \Exception $e) {
$arrMerged[ERROR_MESSAGE_TO_DEVELOPER] .= "<br>(inline report editor not available)";
}
$htmlDebug = OnArray::arrayToHtmlTable(
array_merge($arrForm, $arrMerged),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment