diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-09 16:19:09 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-09 16:19:09 +0200 |
commit | 41caf6090ca8b24c162946054c48d59387d21200 (patch) | |
tree | 975b4f0b3928ddc0b353e3b80ed6f169a4e42509 /src/main.rs | |
parent | 76c84042120b97ee98af6a1c40ab86aca062408a (diff) | |
download | diplonat-41caf6090ca8b24c162946054c48d59387d21200.tar.gz diplonat-41caf6090ca8b24c162946054c48d59387d21200.zip |
Add context to errors
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index a4c4e21..471573b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,8 @@ mod config; async fn main() { pretty_env_logger::init(); - let ctx = diplonat::setup().expect("Setup failed:"); + let ctx = diplonat::setup().expect("Setup failed"); + diplonat::listen(); /* let url = format!("http://127.0.0.1:8500/v1/catalog/node/{}", config.consul_node_name); let resp = reqwest::get(&url) |