디버깅 편의를 위해 오류 페이지 출력 도중 오류가 또 발생된다면 무시하고 그냥 text로 출력

https://xetown.com/questions/1123378
This commit is contained in:
conory 2018-12-15 01:13:37 +09:00
parent 43f4a766c6
commit ff79092019

View file

@ -658,7 +658,14 @@ class Debug
}
// Display a generic error page.
\Context::displayErrorPage($title, $message, 500);
try
{
\Context::displayErrorPage($title, $message, 500);
}
catch (\Error $e)
{
print $message;
}
}
/**