mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
디버깅 편의를 위해 오류 페이지 출력 도중 오류가 또 발생된다면 무시하고 그냥 text로 출력
https://xetown.com/questions/1123378
This commit is contained in:
parent
43f4a766c6
commit
ff79092019
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue