mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Rename VST3 log_init_exception for consistency
This commit is contained in:
@@ -68,8 +68,7 @@ namespace fs = ghc::filesystem;
|
|||||||
*/
|
*/
|
||||||
std::unique_ptr<Vst3PluginBridge> bridge;
|
std::unique_ptr<Vst3PluginBridge> bridge;
|
||||||
|
|
||||||
void log_init_exception(const std::exception& error,
|
void log_init_error(const std::exception& error, const fs::path& plugin_path) {
|
||||||
const fs::path& plugin_path) {
|
|
||||||
Logger logger = Logger::create_exception_logger();
|
Logger logger = Logger::create_exception_logger();
|
||||||
|
|
||||||
logger.log("");
|
logger.log("");
|
||||||
@@ -99,7 +98,7 @@ bool InitModule() {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
} catch (const std::exception& error) {
|
} catch (const std::exception& error) {
|
||||||
log_init_exception(error, plugin_path);
|
log_init_error(error, plugin_path);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -140,7 +139,7 @@ extern "C" YABRIDGE_EXPORT Vst3PluginBridge* yabridge_module_init(
|
|||||||
try {
|
try {
|
||||||
return new Vst3PluginBridge(plugin_path);
|
return new Vst3PluginBridge(plugin_path);
|
||||||
} catch (const std::exception& error) {
|
} catch (const std::exception& error) {
|
||||||
log_init_exception(error, plugin_path);
|
log_init_error(error, plugin_path);
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user