1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

fix(runtime/websocket): remove eprintln (#8817)

This commit is contained in:
crowlKats 2020-12-18 11:27:53 +01:00 committed by GitHub
parent ffb5f7a4e1
commit 37fd0836d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -240,7 +240,6 @@ pub async fn op_ws_send(
.ok_or_else(bad_resource_id)?; .ok_or_else(bad_resource_id)?;
let mut tx = RcRef::map(&resource, |r| &r.tx).borrow_mut().await; let mut tx = RcRef::map(&resource, |r| &r.tx).borrow_mut().await;
tx.send(msg).await?; tx.send(msg).await?;
eprintln!("sent!");
Ok(json!({})) Ok(json!({}))
} }