浏览代码

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

master
0704681032 Eric Zhao 5 年前
父节点
当前提交
ebcf89024c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 查看文件

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



正在加载...
取消
保存