Update error messages for chainloading changes

This commit is contained in:
Robbert van der Helm
2022-04-16 20:35:21 +02:00
parent 795ea70356
commit 773b101cd4
3 changed files with 8 additions and 15 deletions
+6 -7
View File
@@ -423,17 +423,16 @@ class PluginBridge {
generic_logger_.log(
"WARNING: The host application's version does not match");
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(
" you may need rerun 'yabridgectl sync' first to");
generic_logger_.log(" update your plugins.");
" library and host are being loaded, and try "
"rerunning");
generic_logger_.log(" 'yabridgectl sync'.");
// FIXME: Go through these messages and update them to reflect the
// chainloading changes
send_notification(
"Version mismatch",
"If you just updated yabridge, then you may need "
"to rerun 'yabridgectl sync' first to update your plugins.",
"Check the logs to see which yabridge library and host are "
"being loaded, and try rerunning 'yabridgectl sync'.",
info_.native_library_path_);
}
}
+1 -3
View File
@@ -56,9 +56,7 @@ void log_init_error(const std::exception& error, const fs::path& plugin_path) {
// above message
send_notification(
"Failed to initialize VST2 plugin",
error.what() +
"\nIf you just updated yabridge, then you may need to rerun "
"'yabridgectl sync' first to update your plugins."s,
error.what() + "\nCheck the plugin's output for more information"s,
plugin_path);
}
+1 -5
View File
@@ -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
// above message
// FIXME: Go through these messages and update them to reflect the
// chainloading changes
send_notification(
"Failed to initialize VST3 plugin",
error.what() +
"\nIf you just updated yabridge, then you may need to rerun "
"'yabridgectl sync' first to update your plugins."s,
error.what() + "\nCheck the plugin's output for more information"s,
plugin_path);
}