25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Log human readable description when configuration file is not found

This commit is contained in:
Evgeniy Khramtsov 2017-04-16 01:22:55 +03:00
parent 920f2678ac
commit 878c762cdf

View File

@ -317,8 +317,6 @@ consult(File) ->
case file:consult(File) of
{ok, Terms} ->
{ok, Terms};
{error, enoent} ->
{error, enoent};
{error, {LineNumber, erl_parse, _ParseMessage} = Reason} ->
{error, describe_config_problem(File, Reason, LineNumber)};
{error, Reason} ->