Add org.eclipse.jetty.io.EofException to expected measureSendMessageErrors
This commit is contained in:
parent
831c9ff5bf
commit
fcc77052a6
|
@ -397,6 +397,8 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
|
||||||
errorType = "closedChannel";
|
errorType = "closedChannel";
|
||||||
} else if (e == WebSocketResourceProvider.CONNECTION_CLOSED_EXCEPTION) {
|
} else if (e == WebSocketResourceProvider.CONNECTION_CLOSED_EXCEPTION) {
|
||||||
errorType = "connectionClosed";
|
errorType = "connectionClosed";
|
||||||
|
} else if (e instanceof org.eclipse.jetty.io.EofException) {
|
||||||
|
errorType = "connectionEof";
|
||||||
} else {
|
} else {
|
||||||
logger.warn(terminal ? "Send message failure terminated stream" : "Send message failed", e);
|
logger.warn(terminal ? "Send message failure terminated stream" : "Send message failed", e);
|
||||||
errorType = "other";
|
errorType = "other";
|
||||||
|
|
Loading…
Reference in New Issue