改名
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user