diff --git a/src/compiler/compiler.rs b/src/compiler/compiler.rs index 9ab69bcc2..6a069dbc8 100644 --- a/src/compiler/compiler.rs +++ b/src/compiler/compiler.rs @@ -557,7 +557,10 @@ where let (key, compilation, weak_toolchain_key) = match result { Err(e) => { return match e.downcast::() { - Ok(ProcessError(output)) => Ok((CompileResult::Error, output)), + Ok(ProcessError(output)) => { + debug!("[{}]: process error: {:?}", out_pretty, output); + Ok((CompileResult::Error, output)) + } Err(e) => Err(e), }; } diff --git a/src/server.rs b/src/server.rs index be49c1dfd..98cedfbbc 100644 --- a/src/server.rs +++ b/src/server.rs @@ -1383,12 +1383,12 @@ where match compiled { CompileResult::Error => { - debug!("compile result: cache error"); + debug!("[{}]: compile result: cache error", out_pretty); stats.cache_errors.increment(&kind, &lang); } CompileResult::CacheHit(duration) => { - debug!("compile result: cache hit"); + debug!("[{}]: compile result: cache hit", out_pretty); stats.cache_hits.increment(&kind, &lang); stats.cache_read_hit_duration += duration;