mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-22 09:17:43 +02:00
Also rethrow exceptions on non-windows for testing
This commit is contained in:
parent
fc89dedfd0
commit
736dfcf5bd
@ -497,6 +497,7 @@ static pid_t StartUnixWorker(const std::vector<std::string>& configs, bool close
|
||||
_exit(RunWorker(configs, closeConsoleLog, stderrFile));
|
||||
} catch (const std::exception& ex) {
|
||||
Log(LogCritical, "cli") << "Exception in main process: " << DiagnosticInformation(ex);
|
||||
throw;
|
||||
_exit(EXIT_FAILURE);
|
||||
} catch (...) {
|
||||
throw;
|
||||
|
Loading…
x
Reference in New Issue
Block a user