From e25bdba16d83ad3d3ff080ac94848a292414f37e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 5 Jul 2024 10:25:59 +0200 Subject: [PATCH] Use error_logger when printing startup failure message --- src/ejabberd.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd.erl b/src/ejabberd.erl index 0fd237497..a83ab0738 100644 --- a/src/ejabberd.erl +++ b/src/ejabberd.erl @@ -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.