Make sure reason for crash is available for debug logging

This commit is contained in:
Dave Smith 2009-12-02 04:54:23 -07:00
parent a658e970db
commit eb84f4f443

View file

@ -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.