You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/servlet/servlet-3.0/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/Servlet30AndFilterInstrumentation.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ public static void exit(
183
183
184
184
if (!request.isAsyncStarted()) {
185
185
if (instrumentationConfig.httpHeaders().response()) {
186
-
if (!httpResponse.isCommitted()) {
186
+
if (throwable == null && !httpResponse.isCommitted()) {
187
187
httpResponse.flushBuffer();
188
188
}
189
189
for (StringheaderName : httpResponse.getHeaderNames()) {
0 commit comments