From 98ada1938e8df565546a615f1a31ae29ffe0d78a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 4 Aug 2021 16:38:48 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/HTTPServerListener.php b/Server/HTTPServerListener.php index 1a41e313..e27247eb 100644 --- a/Server/HTTPServerListener.php +++ b/Server/HTTPServerListener.php @@ -64,7 +64,7 @@ class HTTPServerListener extends Abstracts\Server */ public function init() { - $exceptionHandler = Config::get('exception.http', null); + $exceptionHandler = Config::get('exception.http', ExceptionHandlerDispatcher::class); if (!in_array(ExceptionHandlerInterface::class, class_implements($exceptionHandler))) { $exceptionHandler = ExceptionHandlerDispatcher::class; }