Sfoglia il codice sorgente

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

master
0704681032 Eric Zhao 5 anni fa
parent
commit
ebcf89024c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi 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…
Annulla
Salva