Skip to content

Commit 1c7c88a

Browse files
committed
use top level err handling
1 parent 1800c43 commit 1c7c88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub fn install(root: Option<&str>,
7777
match install_one(root, map, Some(krate), source_id, vers, opts, force, first) {
7878
Ok(()) => succeeded.push(krate),
7979
Err(e) => {
80-
opts.config.shell().error(e)?;
80+
::handle_error(e, &mut opts.config.shell());
8181
failed.push(krate)
8282
}
8383
}

0 commit comments

Comments
 (0)