mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Update error messages for chainloading changes
This commit is contained in:
@@ -423,17 +423,16 @@ class PluginBridge {
|
|||||||
generic_logger_.log(
|
generic_logger_.log(
|
||||||
"WARNING: The host application's version does not match");
|
"WARNING: The host application's version does not match");
|
||||||
generic_logger_.log(
|
generic_logger_.log(
|
||||||
" this plugin's. If you just updated yabridge, then");
|
" this plugin's. Check the logs to see which yabridge");
|
||||||
generic_logger_.log(
|
generic_logger_.log(
|
||||||
" you may need rerun 'yabridgectl sync' first to");
|
" library and host are being loaded, and try "
|
||||||
generic_logger_.log(" update your plugins.");
|
"rerunning");
|
||||||
|
generic_logger_.log(" 'yabridgectl sync'.");
|
||||||
|
|
||||||
// FIXME: Go through these messages and update them to reflect the
|
|
||||||
// chainloading changes
|
|
||||||
send_notification(
|
send_notification(
|
||||||
"Version mismatch",
|
"Version mismatch",
|
||||||
"If you just updated yabridge, then you may need "
|
"Check the logs to see which yabridge library and host are "
|
||||||
"to rerun 'yabridgectl sync' first to update your plugins.",
|
"being loaded, and try rerunning 'yabridgectl sync'.",
|
||||||
info_.native_library_path_);
|
info_.native_library_path_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,9 +56,7 @@ void log_init_error(const std::exception& error, const fs::path& plugin_path) {
|
|||||||
// above message
|
// above message
|
||||||
send_notification(
|
send_notification(
|
||||||
"Failed to initialize VST2 plugin",
|
"Failed to initialize VST2 plugin",
|
||||||
error.what() +
|
error.what() + "\nCheck the plugin's output for more information"s,
|
||||||
"\nIf you just updated yabridge, then you may need to rerun "
|
|
||||||
"'yabridgectl sync' first to update your plugins."s,
|
|
||||||
plugin_path);
|
plugin_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -79,13 +79,9 @@ void log_init_exception(const std::exception& error,
|
|||||||
|
|
||||||
// Also show a desktop notification since most people likely won't see the
|
// Also show a desktop notification since most people likely won't see the
|
||||||
// above message
|
// above message
|
||||||
// FIXME: Go through these messages and update them to reflect the
|
|
||||||
// chainloading changes
|
|
||||||
send_notification(
|
send_notification(
|
||||||
"Failed to initialize VST3 plugin",
|
"Failed to initialize VST3 plugin",
|
||||||
error.what() +
|
error.what() + "\nCheck the plugin's output for more information"s,
|
||||||
"\nIf you just updated yabridge, then you may need to rerun "
|
|
||||||
"'yabridgectl sync' first to update your plugins."s,
|
|
||||||
plugin_path);
|
plugin_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user