summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-12-02 04:54:23 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-12-02 04:54:23 -0700
commiteb84f4f44354cfe881e474a4324769d655f0ce37 (patch)
tree729148d253f3a69ed8e6a5a75ed763a9e5de1d72
parenta658e970db956ff7f44558bd1ae7a12cf456c7b8 (diff)
Make sure reason for crash is available for debug logging
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index bec23c7..0878081 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -148,7 +148,7 @@ compile_queue(Pids, Targets, Config, CompileFn) ->
Pids2 = lists:delete({Pid, Mref}, Pids),
compile_queue(Pids2, Targets, Config, CompileFn);
- {'DOWN', Mref, _, Pid, _} ->
+ {'DOWN', Mref, _, Pid, Info} ->
?DEBUG("Worker failed: ~p\n", [Info]),
?FAIL
end.