diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 6 insertions, 2 deletions
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}; | |||
3 | #[tokio::main] | 3 | #[tokio::main] |
4 | async fn main() { | 4 | async fn main() { |
5 | let config = Cfg::init("config.toml").unwrap(); | 5 | let config = Cfg::init("config.toml").unwrap(); |
6 | //TODO Error Handling | 6 | match get_input(config).await { |
7 | get_input(config).await.unwrap(); | 7 | Ok(..) => (), |
8 | Err(e) => { | ||
9 | println!("{}", e); | ||
10 | } | ||
11 | }; | ||
8 | } | 12 | } |