From 6e1799dfa014efd093ec175a361bdaa5bad1f59f Mon Sep 17 00:00:00 2001 From: zj Date: Fri, 31 Jul 2026 10:25:17 +0800 Subject: [PATCH] update --- src/Exception/Handler/GatewayExceptionHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Exception/Handler/GatewayExceptionHandler.php b/src/Exception/Handler/GatewayExceptionHandler.php index 0882377..f9706f1 100644 --- a/src/Exception/Handler/GatewayExceptionHandler.php +++ b/src/Exception/Handler/GatewayExceptionHandler.php @@ -17,6 +17,7 @@ use Hyperf\HttpServer\Contract\RequestInterface; use Hyperf\RpcClient\Exception\RequestException; use Dhd\Micro\Core\Exception\BusinessException; +use Dhd\Micro\Core\Exception\ValidateException; use Dhd\Micro\Core\Trait\RpcContextTrait; @@ -47,6 +48,7 @@ class GatewayExceptionHandler extends ExceptionHandler Util::logger() ->setErrorStatus( !($throwable instanceof BusinessException) + && !($throwable instanceof ValidateException) && !($throwable instanceof RequestException) ) ->setMessage($message)