Skip to content

Commit

Permalink
Catch GB page init errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed Jul 26, 2024
1 parent 5c902e4 commit f6a1c97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Tkmm/ViewModels/Pages/GameBananaPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ public static async Task InstallMod(GameBananaModInfo mod)

private async void InitLoad()
{
await UpdatePage();
try {
await UpdatePage();
}
catch (Exception ex) {
App.ToastError(ex);
}
}

private async Task UpdatePage(GameBananaFeed? customFeed = null)
Expand Down

0 comments on commit f6a1c97

Please sign in to comment.