Browse Source

Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect (#964)

master
0704681032 Eric Zhao 5 years ago
parent
commit
ebcf89024c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java

+ 1
- 1
sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java View File

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



Loading…
Cancel
Save