diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-08 20:46:49 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-08 20:46:49 -0600 |
commit | 8277bbf97547b1cf8b22d2c65a2d76d6b5e698a8 (patch) | |
tree | 287649a161fff82835fefb2f45eae102dc9bad17 /src/rebar3.erl | |
parent | 77ae74932697c95d97aa9b80bd13be167c08968e (diff) |
add dialyzer provider
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r-- | src/rebar3.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl index 297233a..e8bb8d5 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -56,7 +56,8 @@ main(Args) -> ?ERROR("Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace", []), ?DEBUG("Uncaught error: ~p ~p", [Module, Reason]); _ -> - ?ERROR(Module:format_error(Reason, []), []) + {Error, _} = Module:format_error(Reason, []), + ?ERROR(Error, []) end, rebar_utils:delayed_halt(1); {error, Error} when is_list(Error) -> |