mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Exception handling https://github.com/seerge/g-helper/issues/2917
This commit is contained in:
@@ -36,7 +36,13 @@ namespace GHelper.AutoUpdate
|
|||||||
|
|
||||||
public void LoadReleases()
|
public void LoadReleases()
|
||||||
{
|
{
|
||||||
Process.Start(new ProcessStartInfo(versionUrl) { UseShellExecute = true });
|
try
|
||||||
|
{
|
||||||
|
Process.Start(new ProcessStartInfo(versionUrl) { UseShellExecute = true });
|
||||||
|
} catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.WriteLine("Failed to open releases page:" + ex.Message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async void CheckForUpdatesAsync()
|
async void CheckForUpdatesAsync()
|
||||||
|
|||||||
Reference in New Issue
Block a user