Better errors
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user