From b65230cd34d53ec337b82d9f1dc8fcc543bd262e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 14 Jun 2026 17:32:15 +0100 Subject: Improve the output printed when starting up. * Use a better startup message with links to documentation and other useful pages. * Use a red "Error!" and a yellow "Warning!" prefix consistently for all errors and warnings respectively. * Don't mention loading core modules. This is an implementation detail that isn't really relevant for most users. * Avoid printing unnecessary whitespace around module errors. --- src/socketengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socketengine.cpp') diff --git a/src/socketengine.cpp b/src/socketengine.cpp index a3728e32d..d8785500f 100644 --- a/src/socketengine.cpp +++ b/src/socketengine.cpp @@ -70,7 +70,7 @@ void EventHandler::OnEventHandlerError(int errornum) void SocketEngine::InitError() { - fmt::println(stderr, "{} Socket engine initialization failed. {}.", fmt::styled("FATAL ERROR!", fmt::emphasis::bold | fmt::fg(fmt::terminal_color::red)), strerror(errno)); + fmt::println(stderr, "{} Socket engine initialization failed. {}.", fmt::styled("Error!", fmt::emphasis::bold | fmt::fg(fmt::terminal_color::red)), strerror(errno)); exit(EXIT_FAILURE); } -- cgit v1.3.1-10-gc9f91