Skip to content

Commit 9e666f9

Browse files
Jack251970Copilot
andauthored
Log a warning when encountering an empty AssemblyName
Co-authored-by: Copilot <[email protected]>
1 parent 0258955 commit 9e666f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Flow.Launcher.Core/Plugin/PluginManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ private static void UpdatePluginDirectory(List<PluginMetadata> metadatas)
189189
{
190190
if (string.IsNullOrEmpty(metadata.AssemblyName))
191191
{
192+
Log.Warn($"Plugin skipped: AssemblyName is empty for plugin with metadata: {metadata.Name}", typeof(PluginManager));
192193
continue; // Skip if AssemblyName is not set, which can happen for erroneous plugins
193194
}
194195
metadata.PluginSettingsDirectoryPath = Path.Combine(DataLocation.PluginSettingsDirectory, metadata.AssemblyName);

0 commit comments

Comments
 (0)