Skip to content

Commit e9a057f

Browse files
committed
Flag crate registry errors as "human"
They often contain useful information! Closes #4200
1 parent 4733e07 commit e9a057f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl CargoError {
7171
&CargoErrorKind::Curl(_) => true,
7272
&CargoErrorKind::HttpNot200(..) => true,
7373
&CargoErrorKind::ProcessErrorKind(_) => true,
74-
&CargoErrorKind::CrateRegistry(_) |
74+
&CargoErrorKind::CrateRegistry(_) => true,
7575
&CargoErrorKind::ParseSemver(_) |
7676
&CargoErrorKind::Semver(_) |
7777
&CargoErrorKind::Io(_) |

0 commit comments

Comments
 (0)