mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Merge branch '6.2.x'
This commit is contained in:
+1
-1
@@ -453,7 +453,7 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
|
||||
() -> {
|
||||
CompletableFuture<?> invokeResult = ((CompletableFuture<?>) invokeOperation(invoker));
|
||||
if (invokeResult == null) {
|
||||
return null;
|
||||
throw new IllegalStateException("Returned CompletableFuture must not be null: " + method);
|
||||
}
|
||||
return invokeResult.exceptionallyCompose(ex -> {
|
||||
invokeFailure.set(true);
|
||||
|
||||
Reference in New Issue
Block a user