mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix startup errors not being logged
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user