Details
-
Umbrella
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
See the stack overflow post
It seems that, for a chain of CompletableFutures, the first child will receive the original exception, and the latter ones will receive a CompletionException, which is the wrapper of the original exception.
This is also what I observed when debugging HBASE-21779. We need to fix this, at least, we should unwrap it when we want to return exceptions to users.