From d5591b8d426dbb04932219d04fe5a5aac8b1213c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 4 Aug 2021 15:53:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Application.php b/System/Application.php index 9cbe10eb..3034f9a2 100644 --- a/System/Application.php +++ b/System/Application.php @@ -146,7 +146,7 @@ class Application extends BaseApplication } $data = response()->getBuilder($manager->execCommand($class)); } catch (\Throwable $exception) { - $data = response()->getBuilder(logger()->exception($exception)); + $data = logger()->exception($exception); } finally { print_r($data); Timer::clearAll();