mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +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.
|
// is still active.
|
||||||
if (config.group.has_value()) {
|
if (config.group.has_value()) {
|
||||||
if (kill(vst_host_pid, 0) != 0) {
|
if (kill(vst_host_pid, 0) != 0) {
|
||||||
throw std::runtime_error(
|
logger.log(
|
||||||
"The group host process has exited unexpectedly. Check "
|
"The group host process has exited unexpectedly. Check "
|
||||||
"the output above for more information.");
|
"the output above for more information.");
|
||||||
|
std::terminate();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!vst_host.running()) {
|
if (!vst_host.running()) {
|
||||||
throw std::runtime_error(
|
logger.log(
|
||||||
"The Wine process failed to start. Check the output "
|
"The Wine process failed to start. Check the output "
|
||||||
"above for more information.");
|
"above for more information.");
|
||||||
|
std::terminate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user