From 5bb09ddbd4f0945b0f899df92cb332ee1b48775a Mon Sep 17 00:00:00 2001 From: goat Date: Wed, 24 May 2023 22:55:46 +0200 Subject: [PATCH] chore: don't log exception for aborted loads when banned --- Dalamud/Plugin/Internal/Types/LocalPlugin.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dalamud/Plugin/Internal/Types/LocalPlugin.cs b/Dalamud/Plugin/Internal/Types/LocalPlugin.cs index ae6e2f740..aa4372873 100644 --- a/Dalamud/Plugin/Internal/Types/LocalPlugin.cs +++ b/Dalamud/Plugin/Internal/Types/LocalPlugin.cs @@ -467,7 +467,9 @@ internal class LocalPlugin : IDisposable catch (Exception ex) { this.State = PluginState.LoadError; - Log.Error(ex, $"Error while loading {this.Name}"); + + if (ex is not BannedPluginException) + Log.Error(ex, $"Error while loading {this.Name}"); throw; }