..
This commit is contained in:
@@ -1,26 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* This file is part of Hyperf.
|
||||
*
|
||||
* @link https://www.hyperf.io
|
||||
* @document https://hyperf.wiki
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
use Aether\ApiExceptionHandler;
|
||||
use Aether\GlobalExceptionHandler;
|
||||
use Aether\RpcExceptionHandler;
|
||||
use Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler;
|
||||
|
||||
return [
|
||||
'handler' => [
|
||||
'http' => [
|
||||
Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler::class,
|
||||
ApiExceptionHandler::class,
|
||||
// HttpExceptionHandler::class,
|
||||
// ApiExceptionHandler::class,
|
||||
GlobalExceptionHandler::class,
|
||||
],
|
||||
'jsonrpc-http' => [
|
||||
Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler::class,
|
||||
HttpExceptionHandler::class,
|
||||
RpcExceptionHandler::class,
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user