mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Update error messages for chainloading changes
This commit is contained in:
@@ -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_);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user