瀏覽代碼

Merge pull request #1318 from tuncer/conventional-stacktrace

Print stacktrace in a more conventional way
pull/1317/merge
Fred Hebert 8 年之前
committed by GitHub
父節點
當前提交
8efcd3b92b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar3.erl

+ 1
- 1
src/rebar3.erl 查看文件

@ -292,7 +292,7 @@ handle_error(Error) ->
case erlang:get_stacktrace() of
[] -> ok;
Trace ->
?DEBUG("Stack trace to the error location: ~p", [Trace])
?DEBUG("Stack trace to the error location: class="si">~n~p", [Trace])
end,
?INFO("When submitting a bug report, please include the output of `rebar3 report \"your command\"`", []),
erlang:halt(1).

Loading…
取消
儲存