Ver código fonte

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

master
0704681032 Eric Zhao 5 anos atrás
pai
commit
ebcf89024c
1 arquivos alterados com 1 adições e 1 exclusões
  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 Ver arquivo

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



Carregando…
Cancelar
Salvar