a tiny bit of error handling
This commit is contained in:
parent
28d1267afa
commit
6b11613b99
@ -45,7 +45,7 @@ pub async fn main() {
|
||||
);
|
||||
|
||||
let start = Instant::now();
|
||||
fetch_modpack(&args.url, args.hash.as_deref(), &dest, ModpackSide::Client).await;
|
||||
fetch_modpack(&args.url, args.hash.as_deref(), &dest, ModpackSide::Client).await.unwrap();
|
||||
let end = start.elapsed();
|
||||
|
||||
println!("Download completed in {} seconds", end.as_secs_f32());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user