mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +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