We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2e63ab commit ed14826Copy full SHA for ed14826
Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -220,9 +220,17 @@ public static async Task InitializePluginsAsync()
220
catch (Exception e)
221
{
222
API.LogException(ClassName, $"Fail to Init plugin: {pair.Metadata.Name}", e);
223
- pair.Metadata.Disabled = true;
224
- pair.Metadata.HomeDisabled = true;
225
- failedPlugins.Enqueue(pair);
+ if (pair.Metadata.Disabled && pair.Metadata.HomeDisabled)
+ {
+ // If this plugin is already disabled, do not show error message again
226
+ // Or else it will be shown every time
227
+ }
228
+ else
229
230
+ pair.Metadata.Disabled = true;
231
+ pair.Metadata.HomeDisabled = true;
232
+ failedPlugins.Enqueue(pair);
233
234
}
235
}));
236
0 commit comments