summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-27 14:16:25 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-27 14:16:25 -0500
commitb4ad8a8eb400a08bb95c7a86daa89f0b3a9c5f89 (patch)
tree2dc165b1f8d748bd86bf8819538773721941a926 /src
parente9a3396e56679a11ac1caa3b47f1f196f0307d72 (diff)
Print error saying to use verbose mode to see stacktrace on uncaught error
Diffstat (limited to 'src')
-rw-r--r--src/rebar3.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index 7c85f26..5ab268f 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -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.