From feadc844c060ff0879d8d547807147ae2213fd13 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 21 May 2020 15:22:45 +0200 Subject: WIP loops --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') 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) -- cgit v1.2.3