Added debug logging for plugin issues

This commit is contained in:
tsommer committed 2025-03-23 14:27:45 +01:00
1 parent 7f09b51e3c
commit cacdb52ae5
1 file changed
+4
@@ -78,6 +78,10 @@ public static partial class PluginFactory
case { IsValid: false }:
LOG.LogError($"Was not able to load plugin '{pluginMainFile}', because the Lua code is not a valid AI Studio plugin. There are {plugin.Issues.Count()} issues to fix.");
#if DEBUG
foreach (var pluginIssue in plugin.Issues)
LOG.LogError($"Plugin issue: {pluginIssue}");
#endif
continue;
case { IsMaintained: false }: