Add org.eclipse.jetty.io.EofException to expected measureSendMessageErrors

This commit is contained in:
Chris Eager authored and Chris Eager committed 2024-04-01 17:06:29 -05:00
1 parent 831c9ff5bf
commit fcc77052a6
1 file changed
+2
@@ -397,6 +397,8 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
errorType = "closedChannel";
} else if (e == WebSocketResourceProvider.CONNECTION_CLOSED_EXCEPTION) {
errorType = "connectionClosed";
} else if (e instanceof org.eclipse.jetty.io.EofException) {
errorType = "connectionEof";
} else {
logger.warn(terminal ? "Send message failure terminated stream" : "Send message failed", e);
errorType = "other";