25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

* src/ejabberd_config.erl: Improved error message when ejabberd

config file is not found.

SVN Revision: 974
This commit is contained in:
Mickaël Rémond 2007-11-22 13:46:54 +00:00
parent f250ee9de6
commit 1415fa4b1c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-11-22 Mickael Remond <mremond@process-one.net>
* src/ejabberd_config.erl: Improved error message when ejabberd
config file is not found.
2007-11-16 Christophe Romain <christophe.romain@process-one.net>
* src/ejabberd_auth_internal.erl: Better count management and

View File

@ -46,7 +46,7 @@ load_file(File) ->
set_opts(Res);
{error, Reason} ->
?ERROR_MSG("Can't load config file ~p: ~p", [File, Reason]),
exit(file:format_error(Reason))
exit(File ++ ": " ++ file:format_error(Reason))
end.
search_hosts(Term, State) ->