summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2022-12-27 11:46:22 +0100
committerFxQnLr <[email protected]>2022-12-27 11:46:22 +0100
commite1c79889d3bf02c8d131d642fed8ba7ef9521bf4 (patch)
tree82c9f375ecbcf4f51f7ff453b5f19299389eb178 /src/main.rs
parent0515548682a95db643a008146105d8ecdb446e58 (diff)
downloadmodlist-e1c79889d3bf02c8d131d642fed8ba7ef9521bf4.tar
modlist-e1c79889d3bf02c8d131d642fed8ba7ef9521bf4.tar.gz
modlist-e1c79889d3bf02c8d131d642fed8ba7ef9521bf4.zip
some error stuff; version update
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
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]
4async fn main() { 4async 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}