Better errors

This commit is contained in:
2022-10-20 01:28:11 +02:00
parent cbe7bc51a6
commit 4f38526dfb
9 changed files with 186 additions and 55 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ impl ActionExec for MagnetAction {
if self.torrent.starts_with("magnet:") {
println!("{}", &self.torrent);
} else {
println!("{}", torrent_to_magnet(&self.torrent));
println!("{}", torrent_to_magnet(&self.torrent)?);
}
Ok(())
}