mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 10:28:12 +01:00
Add org.eclipse.jetty.io.EofException to expected measureSendMessageErrors
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user