mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Throw plugin exception for plugin save interface
This commit is contained in:
parent
578079c913
commit
3aa324d120
1 changed files with 8 additions and 1 deletions
|
|
@ -64,7 +64,14 @@ namespace Flow.Launcher.Core.Plugin
|
|||
foreach (var plugin in AllPlugins)
|
||||
{
|
||||
var savable = plugin.Plugin as ISavable;
|
||||
savable?.Save();
|
||||
try
|
||||
{
|
||||
savable?.Save();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw new FlowPluginException(plugin.Metadata, e);
|
||||
}
|
||||
}
|
||||
|
||||
API.SavePluginSettings();
|
||||
|
|
|
|||
Loading…
Reference in a new issue