aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/main.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-05-27 16:26:08 +0200
committerGitHub Enterprise <[email protected]>2024-05-27 16:26:08 +0200
commitfb3ffc1edaae40421cf36a835570db10a7406add (patch)
tree19e39c71820fe0373d917b061f59bc10a21da33d /src/zenserver/main.cpp
parentfix iterate chunks crash (#86) (diff)
downloadzen-fb3ffc1edaae40421cf36a835570db10a7406add.tar.xz
zen-fb3ffc1edaae40421cf36a835570db10a7406add.zip
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
Diffstat (limited to 'src/zenserver/main.cpp')
-rw-r--r--src/zenserver/main.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
}