diff options
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r-- | src/rebar3.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl index 22c08ca..e5d82f9 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -49,10 +49,12 @@ main(Args) -> ok; rebar_abort -> rebar_utils:delayed_halt(1); + {error, rebar_abort} -> + rebar_utils:delayed_halt(1); {error, {Module, Reason}} -> ?ERROR(Module:format_error(Reason, []), []), rebar_utils:delayed_halt(1); - {error, Error} -> + {error, Error} when is_list(Error) -> ?ERROR(Error++"~n", []), rebar_utils:delayed_halt(1); Error -> |