Skip to content

Commit

Permalink
prevent throw for crashing reasons.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakakun committed Dec 11, 2024
1 parent f117631 commit c6e64b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Panels/About.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public static async Task<string> GetLatestReleaseNameAsync()
}
catch (Exception ex)
{
throw new Exception($"An error occurred while fetching the latest release: {ex.Message}");
Program.DebugPoint($"An error occurred while fetching the latest release: {ex.Message}");
return "GitHub 404";
}
}
}

0 comments on commit c6e64b1

Please sign in to comment.