From f54c92402b6340bca4a434b5dbb2b9163c06ec8b Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Thu, 23 May 2024 12:54:03 -0500 Subject: [PATCH] rethrow instead of catching general exception --- Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs b/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs index 8eb5c4459..933b549c7 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs @@ -149,12 +149,6 @@ namespace Flow.Launcher.Core.Plugin catch (RemoteMethodNotFoundException e) { } - catch (Exception e) - { - Log.Exception( - $"Exception when calling close method for plugin <{Context.CurrentPluginMetadata.Name}>", - e); - } RPC?.Dispose(); ErrorStream?.Dispose();