We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c60a989 commit a8a944cCopy full SHA for a8a944c
src/cargo/ops/cargo_rustc/job_queue.rs
@@ -182,15 +182,15 @@ impl<'a> JobQueue<'a> {
182
match result {
183
Ok(()) => self.finish(key, cx)?,
184
Err(e) => {
185
- handle_error(&*e, &mut *cx.config.shell());
186
-
187
if self.active > 0 {
+ error = Some(human("build failed"));
+ handle_error(&*e, &mut *cx.config.shell());
188
cx.config.shell().say(
189
"Build failed, waiting for other \
190
jobs to finish...", YELLOW)?;
191
}
192
if error.is_none() {
193
- error = Some(human("build failed"));
+ error = Some(e);
194
195
196
0 commit comments