Report io errors when sending payloads for RpcClient methods
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
a87d4db155
commit
1c597ed998
2 changed files with 130 additions and 66 deletions
|
@ -60,7 +60,7 @@ fn share_worktree(_: &(), cx: &mut MutableAppContext) {
|
|||
// a TLS stream using `native-tls`.
|
||||
let stream = smol::net::TcpStream::connect(rpc_address).await?;
|
||||
|
||||
let mut rpc_client = RpcClient::new(stream, executor);
|
||||
let rpc_client = RpcClient::new(stream, executor);
|
||||
|
||||
let auth_response = rpc_client
|
||||
.request(proto::from_client::Auth {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue