浏览代码

Merge pull request #1318 from tuncer/conventional-stacktrace

Print stacktrace in a more conventional way
pull/1317/merge
Fred Hebert 8 年前
提交者 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 case erlang:get_stacktrace() of
[] -> ok; [] -> ok;
Trace -> Trace ->
?DEBUG("Stack trace to the error location: ~p", [Trace])
?DEBUG("Stack trace to the error location: class="si">~n~p", [Trace])
end, end,
?INFO("When submitting a bug report, please include the output of `rebar3 report \"your command\"`", []), ?INFO("When submitting a bug report, please include the output of `rebar3 report \"your command\"`", []),
erlang:halt(1). erlang:halt(1).

正在加载...
取消
保存