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)
189189 {
190190 if ( string . IsNullOrEmpty ( metadata . AssemblyName ) )
191191 {
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 } ") ;
193193 continue ; // Skip if AssemblyName is not set, which can happen for erroneous plugins
194194 }
195195 metadata . PluginSettingsDirectoryPath = Path . Combine ( DataLocation . PluginSettingsDirectory , metadata . AssemblyName ) ;
@@ -199,7 +199,7 @@ private static void UpdatePluginDirectory(List<PluginMetadata> metadatas)
199199 {
200200 if ( string . IsNullOrEmpty ( metadata . Name ) )
201201 {
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 } ") ;
203203 continue ; // Skip if Name is not set, which can happen for erroneous plugins
204204 }
205205 metadata . PluginSettingsDirectoryPath = Path . Combine ( DataLocation . PluginSettingsDirectory , metadata . Name ) ;
You can’t perform that action at this time.
0 commit comments