diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java index 681fa2e23..8de84af64 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java @@ -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";