pull/1471/head
shedfreewu 10 months ago
parent bb967fc6a0
commit ef7473e170

@ -116,8 +116,13 @@ public class EnhancedFeignClient implements Client {
}
catch (CallAbortedException callAbortedException) {
// circuit breaker fallback, not need to run post/exception enhanced plugins.
if (callAbortedException.getFallbackInfo() != null) {
return getFallbackResponse(callAbortedException.getFallbackInfo());
}
else {
throw callAbortedException;
}
}
catch (IOException origin) {
enhancedPluginContext.setDelay(System.currentTimeMillis() - startMillis);
enhancedPluginContext.setThrowable(origin);

Loading…
Cancel
Save