Refactor in prep for clip

This commit is contained in:
John Doty 2024-06-22 07:32:11 -07:00
parent 3f7afc5b78
commit 3eba65f6e6
8 changed files with 101 additions and 94 deletions

View file

@ -9,5 +9,10 @@ async fn main() {
std::process::exit(1);
}
fwd::browse_url(&args[1]).await;
let url = &args[1];
if let Err(e) = fwd::browse_url(url).await {
eprintln!("Unable to open {url}");
eprintln!("{}", e);
std::process::exit(1);
}
}