Skip to content

Commit f54c924

Browse files
committed
rethrow instead of catching general exception
1 parent cea1fcf commit f54c924

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,6 @@ public virtual async ValueTask DisposeAsync()
149149
catch (RemoteMethodNotFoundException e)
150150
{
151151
}
152-
catch (Exception e)
153-
{
154-
Log.Exception(
155-
$"Exception when calling close method for plugin <{Context.CurrentPluginMetadata.Name}>",
156-
e);
157-
}
158152

159153
RPC?.Dispose();
160154
ErrorStream?.Dispose();

0 commit comments

Comments
 (0)