From a32e8b6024bbb0d62205137d4264581ed2efae22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 4 Aug 2021 15:48:46 +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 --- Server/HTTPServerListener.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/HTTPServerListener.php b/Server/HTTPServerListener.php index 9a807c63..963fbe3b 100644 --- a/Server/HTTPServerListener.php +++ b/Server/HTTPServerListener.php @@ -64,7 +64,8 @@ class HTTPServerListener extends Abstracts\Server */ public function init() { - $exceptionHandler = Config::get('exception.http', ExceptionHandlerDispatcher::class); + $exceptionHandler = Config::get('exception.http', null); + var_dump($exceptionHandler); if (!($exceptionHandler instanceof ExceptionHandlerInterface)){ $exceptionHandler = Snowflake::getDi()->get(ExceptionHandlerDispatcher::class); }