chore: log error on ws unexpected close
This commit is contained in:
parent
9ed9395c2c
commit
f237f85959
|
@ -401,7 +401,8 @@ where
|
|||
// Handle ws messages
|
||||
resp = self.ws.next() => match resp {
|
||||
Some(Ok(resp)) => self.handle(resp).await?,
|
||||
Some(Err(_)) => {
|
||||
Some(Err(err)) => {
|
||||
tracing::error!(?err);
|
||||
return Err(ClientError::UnexpectedClose);
|
||||
}
|
||||
None => {
|
||||
|
|
Loading…
Reference in New Issue