Suppress Startup Update error Notifcation

This commit is contained in:
Hongtao Zhang 2021-12-19 11:37:27 -06:00
parent 5ae9ee46c0
commit a42df2aacd

View file

@ -91,8 +91,9 @@ namespace Flow.Launcher.Core
catch (Exception e) when (e is HttpRequestException or WebException or SocketException || e.InnerException is TimeoutException) catch (Exception e) when (e is HttpRequestException or WebException or SocketException || e.InnerException is TimeoutException)
{ {
Log.Exception($"|Updater.UpdateApp|Check your connection and proxy settings to github-cloud.s3.amazonaws.com.", e); Log.Exception($"|Updater.UpdateApp|Check your connection and proxy settings to github-cloud.s3.amazonaws.com.", e);
api.ShowMsg(api.GetTranslation("update_flowlauncher_fail"), if (!silentUpdate)
api.GetTranslation("update_flowlauncher_check_connection")); api.ShowMsg(api.GetTranslation("update_flowlauncher_fail"),
api.GetTranslation("update_flowlauncher_check_connection"));
} }
finally finally
{ {