aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-21 15:22:45 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-21 15:22:45 +0200
commitfeadc844c060ff0879d8d547807147ae2213fd13 (patch)
treebcae4c29092586a442ffb8eb7ed48ab3f9875f69 /src/main.rs
parent32d62d13496bd0ea6fd548cddb38dfdc72f4d41e (diff)
downloaddiplonat-feadc844c060ff0879d8d547807147ae2213fd13.tar.gz
diplonat-feadc844c060ff0879d8d547807147ae2213fd13.zip
WIP loops
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
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)