Skip to content

Commit

Permalink
Merge pull request #82 from TimNN/patch-1
Browse files Browse the repository at this point in the history
Don't silently ignore errors
  • Loading branch information
alexcrichton authored Mar 19, 2017
2 parents 1e6c6fc + 596a0c0 commit 5a04527
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,8 @@ impl<C> SccacheService<C>
finish.set_stdout(stdout);
finish.set_stderr(stderr);
}
Err(_) => {
Err(err) => {
debug!("Compiling failed: {:?}", err);
stats.cache_errors += 1;
//TODO: figure out a better way to communicate this?
finish.set_retcode(-2);
Expand Down

0 comments on commit 5a04527

Please sign in to comment.