Skip to content

Commit 8fa1e2e

Browse files
committed
add one more message
1 parent d369108 commit 8fa1e2e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,12 @@ on existingPlugin.Metadata.ID equals pluginFromManifest.ID
225225
Install(x.PluginNewUserPlugin, downloadToFilePath);
226226

227227
Context.API.RestartApp();
228-
}).ContinueWith(t => Log.Exception($"|PluginsManager|Update fail for {x.Name}", t.Exception.InnerException),
229-
TaskContinuationOptions.OnlyOnFaulted);
228+
}).ContinueWith(t =>
229+
{
230+
Log.Exception($"|PluginsManager|Update fail for {x.Name}", t.Exception.InnerException);
231+
Context.API.ShowMsg(Context.API.GetTranslation("plugin_pluginsmanager_install_error_title"),
232+
string.Format(Context.API.GetTranslation("plugin_pluginsmanager_install_error_subtitle"), x.Name));
233+
}, TaskContinuationOptions.OnlyOnFaulted);
230234

231235
return true;
232236
}

0 commit comments

Comments
 (0)