Skip to content

Commit

Permalink
Merge pull request #218 from holochain/improve-error-when-trycp-clien…
Browse files Browse the repository at this point in the history
…t-times-out

Improve error message when trycp client times out
  • Loading branch information
ThetaSinner authored Jul 2, 2024
2 parents e818821 + 0e2154a commit f9ba084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/trycp_client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,6 @@ impl TrycpClient {
.await
.map_err(std::io::Error::other)?;

r.await.map_err(|_| std::io::Error::other("Closed"))?
r.await.map_err(|_| std::io::Error::other("Timeout"))?
}
}

0 comments on commit f9ba084

Please sign in to comment.