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); }