File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Plugins/Flow.Launcher.Plugin.PluginsManager Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments