25
1
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:
Paweł Chmielowski 2024-07-05 10:25:59 +02:00
parent 7c63cd1000
commit e25bdba16d

View File

@ -54,7 +54,7 @@
start() -> start() ->
case application:ensure_all_started(ejabberd) of 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 Ok -> Ok
end. end.