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