This commit is contained in:
2021-09-09 15:38:30 +08:00
parent d23b0379cc
commit aacda0bef9
+6 -5
View File
@@ -15,11 +15,12 @@ class ExceptionHandlerDispatcher implements ExceptionHandlerInterface
{
/**
* @param Throwable $exception
* @param CResponse $response
* @return ResponseInterface
*/
/**
* @param Throwable $exception
* @param CResponse $response
* @return ResponseInterface
* @throws \Exception
*/
public function emit(Throwable $exception, Response $response): ResponseInterface
{
if ($exception->getCode() == 404) {