소스 검색

Merge pull request #81 from massemanet/patch-1

More error logging
pull/3/head
Dave Smith 12 년 전
부모
커밋
1a083672b1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/rebar_base_compiler.erl

+ 2
- 0
src/rebar_base_compiler.erl 파일 보기

@ -226,6 +226,8 @@ format_warnings(Config, Source, Warnings, Opts) ->
maybe_report([{error, {error, _Es, _Ws}=ErrorsAndWarnings}, {source, _}]) ->
maybe_report(ErrorsAndWarnings);
maybe_report([{error, E}, {source, S}]) ->
report(["unexpected error compiling " ++ S, io_lib:fwrite("~n~p~n", [E])]);
maybe_report({error, Es, Ws}) ->
report(Es),
report(Ws);

불러오는 중...
취소
저장