diff options
Diffstat (limited to 'src/rebar_utils.erl')
-rw-r--r-- | src/rebar_utils.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 2d227b6..289f918 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -398,8 +398,9 @@ log_msg_and_abort(Message) -> -spec log_and_abort(string(), {integer(), string()}) -> no_return(). log_and_abort(Command, {Rc, Output}) -> - ?ABORT("~s failed with error: ~w and output:~n~s~n", - [Command, Rc, Output]). + ?ABORT("sh(~s)~n" + "failed with return code ~w and the following output:~n" + "~s~n", [Command, Rc, Output]). sh_loop(Port, Fun, Acc) -> receive |