From ad6199949d486f862ee5614a7b200de5b5d9ebe5 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 22 May 2020 19:02:27 +0200 Subject: [PATCH] Fix startup errors not being logged --- src/plugin/plugin-bridge.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugin/plugin-bridge.cpp b/src/plugin/plugin-bridge.cpp index bc8f8a43..4d976ef4 100644 --- a/src/plugin/plugin-bridge.cpp +++ b/src/plugin/plugin-bridge.cpp @@ -108,15 +108,17 @@ PluginBridge::PluginBridge(audioMasterCallback host_callback) // is still active. if (config.group.has_value()) { if (kill(vst_host_pid, 0) != 0) { - throw std::runtime_error( + logger.log( "The group host process has exited unexpectedly. Check " "the output above for more information."); + std::terminate(); } } else { if (!vst_host.running()) { - throw std::runtime_error( + logger.log( "The Wine process failed to start. Check the output " "above for more information."); + std::terminate(); } }