mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
remove annoying fail prompt #1339
This commit is contained in:
@@ -31,9 +31,7 @@ namespace Wox.Core
|
||||
}
|
||||
catch (Exception e) when (e is HttpRequestException || e is WebException || e is SocketException)
|
||||
{
|
||||
var checkUpdatesFailed = Translater.GetTranslation("checkUpdatesFailed");
|
||||
Log.Exception($"|Updater.UpdateApp|{checkUpdatesFailed}", e);
|
||||
MessageBox.Show(checkUpdatesFailed);
|
||||
Log.Exception($"|Updater.UpdateApp|Please check your connection and proxy settings to api.github.com.", e);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -44,9 +42,7 @@ namespace Wox.Core
|
||||
}
|
||||
catch (Exception e) when (e is HttpRequestException || e is WebException || e is SocketException)
|
||||
{
|
||||
var checkUpdatesFailed = Translater.GetTranslation("checkUpdatesFailed");
|
||||
Log.Exception($"|Updater.UpdateApp|{checkUpdatesFailed}", e);
|
||||
MessageBox.Show(checkUpdatesFailed);
|
||||
Log.Exception($"|Updater.UpdateApp|Check your connection and proxy settings to api.github.com.", e);
|
||||
m.Dispose();
|
||||
return;
|
||||
}
|
||||
@@ -62,9 +58,7 @@ namespace Wox.Core
|
||||
}
|
||||
catch (Exception e) when (e is HttpRequestException || e is WebException || e is SocketException)
|
||||
{
|
||||
var downloadUpdatesFailed = Translater.GetTranslation("downloadUpdatesFailed");
|
||||
Log.Exception($"|Updater.UpdateApp|{downloadUpdatesFailed}", e);
|
||||
MessageBox.Show(downloadUpdatesFailed);
|
||||
Log.Exception($"|Updater.UpdateApp|Check your connection and proxy settings to github-cloud.s3.amazonaws.com.", e);
|
||||
m.Dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user