File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Flow.Launcher.Core/Plugin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ private static void UpdatePluginDirectory(List<PluginMetadata> metadatas)
189
189
{
190
190
if ( string . IsNullOrEmpty ( metadata . AssemblyName ) )
191
191
{
192
- Log . Warn ( $ "Plugin skipped: AssemblyName is empty for plugin with metadata: { metadata . Name } ", typeof ( PluginManager ) ) ;
192
+ API . LogWarn ( ClassName , $ " AssemblyName is empty for plugin with metadata: { metadata . Name } ") ;
193
193
continue ; // Skip if AssemblyName is not set, which can happen for erroneous plugins
194
194
}
195
195
metadata . PluginSettingsDirectoryPath = Path . Combine ( DataLocation . PluginSettingsDirectory , metadata . AssemblyName ) ;
@@ -199,7 +199,7 @@ private static void UpdatePluginDirectory(List<PluginMetadata> metadatas)
199
199
{
200
200
if ( string . IsNullOrEmpty ( metadata . Name ) )
201
201
{
202
- Log . Warn ( $ "Plugin with empty Name encountered. Skipping plugin initialization. Metadata : { metadata } ") ;
202
+ API . LogWarn ( ClassName , $ "Name is empty for plugin with metadata : { metadata . Name } ") ;
203
203
continue ; // Skip if Name is not set, which can happen for erroneous plugins
204
204
}
205
205
metadata . PluginSettingsDirectoryPath = Path . Combine ( DataLocation . PluginSettingsDirectory , metadata . Name ) ;
You can’t perform that action at this time.
0 commit comments