From 7e3c7b55f4031b4e21275d0e6ac02dfcb58a89d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 31 Aug 2020 12:40:55 +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/Error/ErrorHandler.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/Error/ErrorHandler.php b/system/Error/ErrorHandler.php index 7f7bc9d5..d29a2ca3 100644 --- a/system/Error/ErrorHandler.php +++ b/system/Error/ErrorHandler.php @@ -125,8 +125,7 @@ class ErrorHandler extends Component implements ErrorInterface Logger::trance($data, $this->category); - print_r($data); - return PHP_EOL; + return response()->send($data); } /**