From f5076c41ef5ec7fa92bf635c2735894201edb813 Mon Sep 17 00:00:00 2001 From: Stepan Mikhailiuk Date: Tue, 20 May 2025 09:08:13 +0800 Subject: [PATCH] fix(*): remove unnecessary exception according review comments Signed-off-by: Stepan Mikhailiuk --- .../filter/factory/SetRequestUriGatewayFilterFactory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/SetRequestUriGatewayFilterFactory.java b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/SetRequestUriGatewayFilterFactory.java index 8f87428d..1fbdfaed 100644 --- a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/SetRequestUriGatewayFilterFactory.java +++ b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/SetRequestUriGatewayFilterFactory.java @@ -90,7 +90,6 @@ public class SetRequestUriGatewayFilterFactory return Optional.of(uri); } catch (IllegalArgumentException e) { - log.info("Request url is invalid : url={}, error={}", config.getTemplate(), e.getMessage()); return Optional.ofNullable(null); }