diff options
| author | 2026-06-14 17:32:15 +0100 | |
|---|---|---|
| committer | 2026-06-14 22:08:28 +0100 | |
| commit | b65230cd34d53ec337b82d9f1dc8fcc543bd262e (patch) | |
| tree | afb9064639e00c800516c0a69d943d8abfbc4ab4 /src/socketengine.cpp | |
| parent | Fix building ssl_openssl on OpenSSL 4. (diff) | |
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.
Diffstat (limited to 'src/socketengine.cpp')
| -rw-r--r-- | src/socketengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
