File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Flow.Launcher.Core/Plugin Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,16 @@ private static void DeletePythonBinding()
61
61
/// </summary>
62
62
public static void Save ( )
63
63
{
64
- foreach ( var plugin in AllPlugins )
64
+ foreach ( var pluginPair in AllPlugins )
65
65
{
66
- var savable = plugin . Plugin as ISavable ;
66
+ var savable = pluginPair . Plugin as ISavable ;
67
67
try
68
68
{
69
69
savable ? . Save ( ) ;
70
70
}
71
71
catch ( Exception e )
72
72
{
73
- throw new FlowPluginException ( plugin . Metadata , e ) ;
73
+ API . LogException ( ClassName , $ "Failed to save plugin { pluginPair . Metadata . Name } " , e ) ;
74
74
}
75
75
}
76
76
@@ -102,7 +102,7 @@ private static async Task DisposePluginAsync(PluginPair pluginPair)
102
102
}
103
103
catch ( Exception e )
104
104
{
105
- throw new FlowPluginException ( pluginPair . Metadata , e ) ;
105
+ API . LogException ( ClassName , $ "Failed to dispose plugin { pluginPair . Metadata . Name } " , e ) ;
106
106
}
107
107
}
108
108
You can’t perform that action at this time.
0 commit comments