diff --git a/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java b/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java index 0e339bd5ba..7211104338 100644 --- a/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java +++ b/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java @@ -817,12 +817,17 @@ public class DefaultPromise extends AbstractFuture implements Promise { } else if (result == UNCANCELLABLE) { buf.append("(uncancellable)"); } else if (result instanceof CauseHolder) { - buf.append("(failure(") + buf.append("(failure: ") .append(((CauseHolder) result).cause) .append(')'); + } else if (result != null) { + buf.append("(success: ") + .append(result) + .append(')'); } else { buf.append("(incomplete)"); } + return buf; }