Skip to content

Commit 5a04527

Browse files
authored
Merge pull request #82 from TimNN/patch-1
Don't silently ignore errors
2 parents 1e6c6fc + 596a0c0 commit 5a04527

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,8 @@ impl<C> SccacheService<C>
582582
finish.set_stdout(stdout);
583583
finish.set_stderr(stderr);
584584
}
585-
Err(_) => {
585+
Err(err) => {
586+
debug!("Compiling failed: {:?}", err);
586587
stats.cache_errors += 1;
587588
//TODO: figure out a better way to communicate this?
588589
finish.set_retcode(-2);

0 commit comments

Comments
 (0)