We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410d75e commit c671a31Copy full SHA for c671a31
ws/src/main/scala/sttp/ws/WebSocket.scala
@@ -56,7 +56,7 @@ trait WebSocket[F[_]] {
56
// closed. This would cause this call to fail with an exception, while the WS was properly used. That's why
57
// we ignore the exception here, and allow for closure (or actual I/O exception) to be discovered via the
58
// subsequent `receive`.
59
- .handleError(_ => monad.unit(()))
+ .handleError { case _ => monad.unit(()) }
60
.flatMap(_ => receiveDataFrame(pongOnPing))
61
case _ => receiveDataFrame(pongOnPing)
62
}
0 commit comments