Skip to content

Commit

Permalink
Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect (
Browse files Browse the repository at this point in the history
  • Loading branch information
0704681032 authored and sczyh30 committed Aug 5, 2019
1 parent a0f13ba commit ebcf890
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public Object invokeResourceWithSentinel(ProceedingJoinPoint pjp) throws Throwab
throw ex;
}
if (exceptionBelongsTo(ex, annotation.exceptionsToTrace())) {
traceException(ex, annotation);
traceException(ex);
return handleFallback(pjp, annotation, ex);
}

Expand Down

0 comments on commit ebcf890

Please sign in to comment.