mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
改进debug状态时console下异常的输出
This commit is contained in:
@@ -86,6 +86,9 @@ class Handle
|
||||
*/
|
||||
public function renderForConsole(Output $output, Exception $e)
|
||||
{
|
||||
if (APP_DEBUG) {
|
||||
$output->setVerbosity(Output::VERBOSITY_DEBUG);
|
||||
}
|
||||
(new Console)->renderException($e, $output);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user