|
@ -339,7 +339,7 @@ handle_error({error, {Module, Reason}}, Stacktrace) -> |
|
|
case code:which(Module) of |
|
|
case code:which(Module) of |
|
|
non_existing -> |
|
|
non_existing -> |
|
|
?CRASHDUMP("~p: ~p~n~p~n~n", [Module, Reason, Stacktrace]), |
|
|
?CRASHDUMP("~p: ~p~n~p~n~n", [Module, Reason, Stacktrace]), |
|
|
?ERROR("Uncaught error in rebar_core. Run with DEBUG=1 to stacktrace or consult rebar3.crashdump", []), |
|
|
|
|
|
|
|
|
?ERROR("Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to stacktrace or consult rebar3.crashdump", []), |
|
|
?DEBUG("Uncaught error: ~p ~p", [Module, Reason]), |
|
|
?DEBUG("Uncaught error: ~p ~p", [Module, Reason]), |
|
|
?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\"`", []); |
|
|
_ -> |
|
|
_ -> |
|
@ -353,7 +353,7 @@ handle_error(Error, StackTrace) -> |
|
|
%% Nothing should percolate up from rebar_core; |
|
|
%% Nothing should percolate up from rebar_core; |
|
|
%% Dump this error to console |
|
|
%% Dump this error to console |
|
|
?CRASHDUMP("Error: ~p~n~p~n~n", [Error, StackTrace]), |
|
|
?CRASHDUMP("Error: ~p~n~p~n~n", [Error, StackTrace]), |
|
|
?ERROR("Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump", []), |
|
|
|
|
|
|
|
|
?ERROR("Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump", []), |
|
|
?DEBUG("Uncaught error: ~p", [Error]), |
|
|
?DEBUG("Uncaught error: ~p", [Error]), |
|
|
case StackTrace of |
|
|
case StackTrace of |
|
|
[] -> ok; |
|
|
[] -> ok; |
|
|