From e1c79889d3bf02c8d131d642fed8ba7ef9521bf4 Mon Sep 17 00:00:00 2001 From: FxQnLr Date: Tue, 27 Dec 2022 11:46:22 +0100 Subject: some error stuff; version update --- src/main.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index a093bb7..a8aa15d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,10 @@ use modlist::{config::Cfg, input::get_input}; #[tokio::main] async fn main() { let config = Cfg::init("config.toml").unwrap(); - //TODO Error Handling - get_input(config).await.unwrap(); + match get_input(config).await { + Ok(..) => (), + Err(e) => { + println!("{}", e); + } + }; } -- cgit v1.2.3