Pretty logging

This commit is contained in:
Alex Auvolat
2020-04-21 12:54:55 +00:00
parent 53cf4d1baa
commit cc4f2f1cfb
14 changed files with 223 additions and 103 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ impl RpcHttpClient {
let resp = tokio::time::timeout(timeout, resp_fut)
.await?
.map_err(|e| {
eprintln!(
warn!(
"RPC HTTP client error when connecting to {}: {}",
to_addr, e
);