Commit cf4c7b56 authored by Marc Egger's avatar Marc Egger
Browse files

Refs #11035 subpress exceptions when rendering inline editor in Exception

parent b2563c47
Pipeline #3730 failed with stages
in 1 minute and 57 seconds
......@@ -171,9 +171,11 @@ class AbstractException extends \Exception {
}
// Render inline report editor
$arrMerged[ERROR_MESSAGE_TO_DEVELOPER] = QuickFormQuery::buildInlineReport(\UserReportException::$report_uid,
\UserReportException::$report_pathFileName, \UserReportException::$report_bodytext,
\UserReportException::$report_header) . $arrMerged[ERROR_MESSAGE_TO_DEVELOPER];
try {
$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) {}
$htmlDebug = OnArray::arrayToHtmlTable(
array_merge($arrForm, $arrMerged),
......
......@@ -23,6 +23,7 @@ use IMATHUZH\Qfq\Core\QuickFormQuery;
// TODO: Test if qfq, sql and mail logs still work
// TODO: write docstrings for Path.php
// TODO: alle error codes raus schmeissen
// TODO: ?CR: AbstractException.php, surround log part with try/catch?
// PATH migration
// TODO: create filePathToQfqConfig() and replace config references with this
......
Supports Markdown
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