mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Log {error, read_error} dialyzer plt_info error
This commit is contained in:
parent
59ecb2028d
commit
ba8daa5212
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ analyze(Config, File) ->
|
||||||
{error, no_such_file} ->
|
{error, no_such_file} ->
|
||||||
?ABORT("The PLT ~s does not exist. Please perform the build_plt command to ~n"
|
?ABORT("The PLT ~s does not exist. Please perform the build_plt command to ~n"
|
||||||
"produce the initial PLT. Be aware this operation may take several minutes.", [Plt]);
|
"produce the initial PLT. Be aware this operation may take several minutes.", [Plt]);
|
||||||
|
{error, read_error} ->
|
||||||
|
?ABORT("Unable to read PLT ~n~n", [Plt]);
|
||||||
{error, not_valid} ->
|
{error, not_valid} ->
|
||||||
?ABORT("The PLT ~s is not valid.~n", [Plt]);
|
?ABORT("The PLT ~s is not valid.~n", [Plt]);
|
||||||
{error, _Reason} ->
|
{error, _Reason} ->
|
||||||
|
|
Loading…
Reference in a new issue