fix: hide expected network errors when nodes are terminated
@@ -171,7 +171,8 @@ func (s *websocketActor) processWriteMessage(
}
func isClosingError(err error) bool {
- return err == websocket.ErrCloseSent || websocket.IsCloseError(err, websocket.CloseNormalClosure)
+ return err == websocket.ErrCloseSent ||
+ websocket.IsCloseError(err, websocket.CloseNormalClosure, websocket.CloseAbnormalClosure)
}
func (s *websocketActor) setupPingLoop(ctx *actor.Context) {
