We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350b059 commit 7b3fba9Copy full SHA for 7b3fba9
src/epsilon/server/instance.rs
@@ -102,7 +102,7 @@ impl Instance {
102
let timeout = Duration::from_millis(500);
103
let config = ConnectionConfig::build(address).with_timeout(timeout);
104
105
- Ok(config.connect().await.unwrap().status().await?.status)
+ Ok(config.connect().await?.status().await?.status)
106
} else {
107
Err(format_err!("No address found"))
108
}
0 commit comments