diff --git a/programs/server/Server.cpp b/programs/server/Server.cpp index efb5ccb3203..53e2db91f27 100644 --- a/programs/server/Server.cpp +++ b/programs/server/Server.cpp @@ -1970,7 +1970,7 @@ catch (...) { /// Poco does not provide stacktrace. tryLogCurrentException("Application"); - throw; + return getCurrentExceptionCode(); } std::unique_ptr Server::buildProtocolStackFromConfig(