aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-17 18:09:48 +0100
committerStefan Boberg <[email protected]>2026-03-17 18:11:03 +0100
commita754ae7468ac21b40d4971cca6c6dfa9183e9570 (patch)
treeced3a0c4bd4c5660919ba73d43cc349b990d1686 /src/zenhttp/httpserver.cpp
parentchangelog (diff)
downloadzen-a754ae7468ac21b40d4971cca6c6dfa9183e9570.tar.xz
zen-a754ae7468ac21b40d4971cca6c6dfa9183e9570.zip
Fix silent exit when second zenserver instance detects port conflict
ZEN_WARN/INFO/CRITICAL calls before InitializeLogging() are silently discarded. Switch all log calls in ZenServerMain::Run() that precede InitializeLogging() — the ZenServerState early-exit block, the lock file retry block, and the catch handlers — to their ZEN_CONSOLE_* equivalents. Also fix the same issue in ZenServerState::Sweep() and Snapshot() which had been inconsistently converted to fprintf+std::format.
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions