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); }