diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-03-16 12:59:31 -0500 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-03-16 12:59:31 -0500 |
commit | 9d4ed68620b52d5b96e4bc3c4ebc8735a5df2782 (patch) | |
tree | 2d9913a65be9f0de9c5494a8080e4e6b6c994c2b /src/rebar_prv_xref.erl | |
parent | 6e337e022c3c4521ee84121845305b494127aaf2 (diff) | |
parent | 92245a138b7ee314e625486b9f537ac267a35aa6 (diff) |
Merge pull request #270 from ferd/cleanup-errors
use PRV_ERROR for formattable errors
Diffstat (limited to 'src/rebar_prv_xref.erl')
-rw-r--r-- | src/rebar_prv_xref.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_xref.erl b/src/rebar_prv_xref.erl index 142f8fd..cc33f51 100644 --- a/src/rebar_prv_xref.erl +++ b/src/rebar_prv_xref.erl @@ -10,6 +10,7 @@ format_error/1]). -include("rebar.hrl"). +-include_lib("providers/include/providers.hrl"). -define(PROVIDER, xref). -define(DEPS, [compile]). @@ -51,7 +52,7 @@ do(State) -> true -> {ok, State}; false -> - {error, {?MODULE, {xref_issues, XrefResults, QueryResults}}} + ?PRV_ERROR({xref_issues, XrefResults, QueryResults}) end. -spec format_error(any()) -> iolist(). |