diff options
Diffstat (limited to 'src/zen/cmds/serve_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/serve_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zen/cmds/serve_cmd.cpp b/src/zen/cmds/serve_cmd.cpp index c8117774b..ea9102b28 100644 --- a/src/zen/cmds/serve_cmd.cpp +++ b/src/zen/cmds/serve_cmd.cpp @@ -91,7 +91,7 @@ ServeCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) ServerInstance->SetOwnerPid(zen::GetCurrentProcessId()); ServerInstance->SpawnServerAndWait(ServerPort); } - catch (std::exception& Ex) + catch (const std::exception& Ex) { ZEN_CONSOLE("failed to spawn server on port {}: '{}'", ServerPort, Ex.what()); |