From ebcf89024cb2c95d4653cc57a952d9ee9e1b2785 Mon Sep 17 00:00:00 2001 From: 0704681032 <307517019@qq.com> Date: Mon, 5 Aug 2019 13:39:50 +0800 Subject: [PATCH] Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect (#964) --- .../csp/sentinel/annotation/aspectj/SentinelResourceAspect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java b/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java index 0f5e9a97..cf6fca38 100644 --- a/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java +++ b/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java @@ -64,7 +64,7 @@ public class SentinelResourceAspect extends AbstractSentinelAspectSupport { throw ex; } if (exceptionBelongsTo(ex, annotation.exceptionsToTrace())) { - traceException(ex, annotation); + traceException(ex); return handleFallback(pjp, annotation, ex); }