diff options
author | Tristan Sloughter <[email protected]> | 2014-11-09 18:22:20 -0600 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-11-09 19:50:35 -0600 |
commit | bf953e417d0771583d95d4d6b6e2697ab44754d6 (patch) | |
tree | 2bb652df3be9f3e2b4187bf073672dad4f7dda10 /src/rlx_app_info.erl | |
parent | 64b946e351a92bd2686d0a4370c252a53eaa82bd (diff) | |
download | relx-bf953e417d0771583d95d4d6b6e2697ab44754d6.tar.gz relx-bf953e417d0771583d95d4d6b6e2697ab44754d6.tar.bz2 relx-bf953e417d0771583d95d4d6b6e2697ab44754d6.zip |
move back to using format_error/1
Diffstat (limited to 'src/rlx_app_info.erl')
-rw-r--r-- | src/rlx_app_info.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_app_info.erl b/src/rlx_app_info.erl index ab35195..931c139 100644 --- a/src/rlx_app_info.erl +++ b/src/rlx_app_info.erl @@ -52,7 +52,7 @@ library_deps/2, link/1, link/2, - format_error/2, + format_error/1, format/2, format/1]). @@ -170,8 +170,8 @@ link(#app_info_t{link=Link}) -> link(AppInfo, NewLink) -> AppInfo#app_info_t{link=NewLink}. --spec format_error(Reason::term(), rlx_state:t()) -> iolist(). -format_error({vsn_parse, AppName}, _) -> +-spec format_error(Reason::term()) -> iolist(). +format_error({vsn_parse, AppName}) -> io_lib:format("Error parsing version for ~p", [AppName]). |