From fb3ffc1edaae40421cf36a835570db10a7406add Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 27 May 2024 16:26:08 +0200 Subject: don't use "error:" in log messages unless there is an error (#87) Improvement: Don't use "error:" in log messages unless there is an error as Horde CI will pick up that log line and interpret it as an error --- src/zenserver/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zenserver/main.cpp') diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp index b96118484..023abc8a3 100644 --- a/src/zenserver/main.cpp +++ b/src/zenserver/main.cpp @@ -166,13 +166,13 @@ ZenEntryPoint::Run() if (Ec) { - ZEN_WARN("Unable to grab lock at '{}' (error: '{}'), retrying", LockFilePath, Ec.message()); + ZEN_WARN("Unable to grab lock at '{}' (reason: '{}'), retrying", LockFilePath, Ec.message()); Sleep(500); m_LockFile.Create(LockFilePath, MakeLockData(false), Ec); if (Ec) { - ZEN_WARN("ERROR: Unable to grab lock at '{}' (error: '{}')", LockFilePath, Ec.message()); + ZEN_WARN("ERROR: Unable to grab lock at '{}' (reason: '{}')", LockFilePath, Ec.message()); std::exit(99); } } -- cgit v1.2.3