Browse Source

Print error saying to use verbose mode to see stacktrace on uncaught error

pull/3/head
Tristan Sloughter 10 years ago
parent
commit
b4ad8a8eb4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/rebar3.erl

+ 2
- 1
src/rebar3.erl View File

@ -54,7 +54,8 @@ main(Args) ->
Error ->
%% Nothing should percolate up from rebar_core;
%% Dump this error to console
io:format("Uncaught error in rebar_core: ~p\n", [Error]),
?ERROR("Uncaught error in rebar_core. Run with -vvv to see stacktrace~n", []),
?DEBUG("Uncaught error: ~p~n", [Error]),
rebar_utils:delayed_halt(1)
end.

Loading…
Cancel
Save