diff options
-rw-r--r-- | src/rebar3.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl index a1916f5..22c08ca 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -49,6 +49,9 @@ main(Args) -> ok; rebar_abort -> rebar_utils:delayed_halt(1); + {error, {Module, Reason}} -> + ?ERROR(Module:format_error(Reason, []), []), + rebar_utils:delayed_halt(1); {error, Error} -> ?ERROR(Error++"~n", []), rebar_utils:delayed_halt(1); |