diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-21 15:22:45 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-21 15:22:45 +0200 |
commit | feadc844c060ff0879d8d547807147ae2213fd13 (patch) | |
tree | bcae4c29092586a442ffb8eb7ed48ab3f9875f69 /src/main.rs | |
parent | 32d62d13496bd0ea6fd548cddb38dfdc72f4d41e (diff) | |
download | diplonat-feadc844c060ff0879d8d547807147ae2213fd13.tar.gz diplonat-feadc844c060ff0879d8d547807147ae2213fd13.zip |
WIP loops
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index fee73aa..c8a4b0a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ async fn main() { info!("Starting Diplonat"); let diplo = Diplonat::new().await.expect("Setup failed"); - diplo.listen(); + diplo.listen().await.expect("A runtime error occured"); /* let url = format!("http://127.0.0.1:8500/v1/catalog/node/{}", config.consul_node_name); let resp = reqwest::get(&url) |