diff --git a/core/src/main/java/com/linecorp/armeria/common/ResponseCompleteException.java b/core/src/main/java/com/linecorp/armeria/common/ResponseCompleteException.java index 0c1f5981f2c..04035b2d132 100644 --- a/core/src/main/java/com/linecorp/armeria/common/ResponseCompleteException.java +++ b/core/src/main/java/com/linecorp/armeria/common/ResponseCompleteException.java @@ -32,8 +32,7 @@ public final class ResponseCompleteException extends CancellationException { * Returns the singleton {@link ResponseCompleteException}. */ public static ResponseCompleteException get() { - if (Flags.verboseResponses() && - Flags.verboseExceptionSampler().isSampled(ResponseCompleteException.class)) { + if (Flags.verboseExceptionSampler().isSampled(ResponseCompleteException.class)) { return new ResponseCompleteException(); } else { return INSTANCE;