From 3ccc313fe5e81e6ff42e9c7a71f0aead4e45d840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 4 Aug 2021 16:55:03 +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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Server/HTTPServerListener.php b/Server/HTTPServerListener.php index a17317e1..7e878101 100644 --- a/Server/HTTPServerListener.php +++ b/Server/HTTPServerListener.php @@ -63,11 +63,11 @@ class HTTPServerListener extends Abstracts\Server */ public function init() { - $exceptionHandler = Config::get('exception.http', ExceptionHandlerDispatcher::class); - if (!in_array(ExceptionHandlerInterface::class, class_implements($exceptionHandler))) { - $exceptionHandler = ExceptionHandlerDispatcher::class; - } - $this->exceptionHandler = Snowflake::getDi()->get($exceptionHandler); +// $exceptionHandler = Config::get('exception.http', ExceptionHandlerDispatcher::class); +// if (!in_array(ExceptionHandlerInterface::class, class_implements($exceptionHandler))) { +// $exceptionHandler = ExceptionHandlerDispatcher::class; +// } +// $this->exceptionHandler = Snowflake::getDi()->get($exceptionHandler); }