Skip to content

Commit

Permalink
Remove try/catch around progress status update
Browse files Browse the repository at this point in the history
  • Loading branch information
colinator27 committed Dec 2, 2024
1 parent 256c6b6 commit 35dca46
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions UndertaleModTool/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3130,11 +3130,7 @@ public async void UpdateApp(SettingsWindow window)
if (bytesToProgressCounter >= bytesToUpdateProgress)
{
bytesToProgressCounter -= bytesToUpdateProgress;
try
{
UpdateProgressStatus($"Downloaded MB: {(totalBytesDownloaded / bytesToMB).ToString("F2", CultureInfo.InvariantCulture)}");
}
catch { }
UpdateProgressStatus($"Downloaded MB: {(totalBytesDownloaded / bytesToMB).ToString("F2", CultureInfo.InvariantCulture)}");
}

// Read next bytes
Expand Down

0 comments on commit 35dca46

Please sign in to comment.