mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 01:20:21 +00:00 
			
		
		
		
	Added debug logging for plugin issues
This commit is contained in:
		
							parent
							
								
									7f09b51e3c
								
							
						
					
					
						commit
						cacdb52ae5
					
				@ -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 }:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user