mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Use error_logger when printing startup failure message
This commit is contained in:
parent
7c63cd1000
commit
e25bdba16d
@ -54,7 +54,7 @@
|
||||
|
||||
start() ->
|
||||
case application:ensure_all_started(ejabberd) of
|
||||
{error, Err} -> io:format("Failed to start ejabberd application: ~p", [Err]);
|
||||
{error, Err} -> error_logger:error_msg("Failed to start ejabberd application: ~p", [Err]);
|
||||
Ok -> Ok
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user