Added debug logging for plugin issues

This commit is contained in:
Thorsten Sommer 2025-03-23 14:27:45 +01:00
parent 7f09b51e3c
commit cacdb52ae5
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -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 }: