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 c50e0e5633..e7218fdc84 100644 --- a/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java +++ b/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java @@ -520,7 +520,7 @@ public class DefaultPromise extends AbstractFuture implements Promise { try { l.operationComplete(future); } catch (Throwable t) { - logger.warn("An exception was thrown by {}.operationComplete()", l.getClass().getName(), t); + logger.warn("An exception was thrown by " + l.getClass().getName() + ".operationComplete()", t); } } @@ -747,7 +747,7 @@ public class DefaultPromise extends AbstractFuture implements Promise { try { l.operationProgressed(future, progress, total); } catch (Throwable t) { - logger.warn("An exception was thrown by {}.operationProgressed()", l.getClass().getName(), t); + logger.warn("An exception was thrown by " + l.getClass().getName() + ".operationProgressed()", t); } }