Skip to content

Commit d75d1e4

Browse files
committed
Fix exception message
1 parent f7437bf commit d75d1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/tascalate/concurrent/AbstractCompletableTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ private static ExecutionException rewrapExecutionException(ExecutionException ex
418418
if (ex.getCause() instanceof CompletionException) {
419419
Throwable completionExceptionReason = ex.getCause().getCause();
420420
if (null != completionExceptionReason) {
421-
return new ExecutionException(ex.getMessage(), completionExceptionReason);
421+
return new ExecutionException(completionExceptionReason);
422422
}
423423
}
424424
return ex;

0 commit comments

Comments
 (0)