From 6acd8fcfdf97c1a38c116b2d4f177cd33955c64c Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 26 Apr 2024 13:57:16 +0200 Subject: [PATCH] Fix error notiifcation when plugin loading fails --- source/PluginManagement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PluginManagement.cpp b/source/PluginManagement.cpp index bffd23a..3b97fb8 100644 --- a/source/PluginManagement.cpp +++ b/source/PluginManagement.cpp @@ -24,7 +24,7 @@ PluginManagement::loadPlugins(const std::set> &plugi if (metaInfo && error == PLUGIN_PARSE_ERROR_NONE) { auto info = PluginInformationFactory::load(*pluginData, trampolineData, trampolineID++); if (!info) { - auto errMsg = string_format("Failed to load plugin: %s", metaInfo->getName().c_str()); + auto errMsg = string_format("Failed to load plugin: %s", pluginData->getSource().c_str()); DEBUG_FUNCTION_LINE_ERR("%s", errMsg.c_str()); DisplayErrorNotificationMessage(errMsg, 15.0f); continue;