Don’t automatically unwrap errors when sending on WebSocket
Closes #140
This commit is contained in:
parent
fcdc9ebb8e
commit
74c3b6d708
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ impl Rpc {
|
|||
// Send messages to the client
|
||||
tokio::task::spawn(async move {
|
||||
while let Some(res) = rcv.next().await {
|
||||
wtx.send(res).await.unwrap();
|
||||
let _ = wtx.send(res).await;
|
||||
}
|
||||
});
|
||||
// Get messages from the client
|
||||
|
|
Loading…
Reference in a new issue