Skip to content

Commit

Permalink
Switch handler to async on InstallmanagerBase.ApplyDeleteFileActionAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
bagusnl committed Nov 11, 2024
1 parent 1fda0ce commit 41950e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ protected virtual async Task StartPackageInstallationInner(List<GameInstallPacka
}
catch (Exception ex)
{
SentryHelper.ExceptionHandler_ForLoop(ex, SentryHelper.ExceptionType.UnhandledOther);
await SentryHelper.ExceptionHandler_ForLoopAsync(ex, SentryHelper.ExceptionType.UnhandledOther);
LogWriteLine($"Error has occurred while trying to run the plugin with id: {asset.PluginId} and command: {asset.RunCommand}\r\n{ex}",
LogType.Error, true);
}
Expand Down Expand Up @@ -1999,7 +1999,7 @@ public async ValueTask<bool> UninstallGame()
}
catch (Exception ex)
{
await SentryHelper.ExceptionHandler_ForLoop_Async(ex, SentryHelper.ExceptionType.UnhandledOther);
await SentryHelper.ExceptionHandler_ForLoopAsync(ex, SentryHelper.ExceptionType.UnhandledOther);
LogWriteLine($"An error occurred while deleting object {folderGameData}\r\n{ex}", LogType.Error,
true);
}
Expand All @@ -2025,7 +2025,7 @@ public async ValueTask<bool> UninstallGame()
}
catch (Exception ex)
{
await SentryHelper.ExceptionHandler_ForLoop_Async(ex, SentryHelper.ExceptionType.UnhandledOther);
await SentryHelper.ExceptionHandler_ForLoopAsync(ex, SentryHelper.ExceptionType.UnhandledOther);
LogWriteLine($"An error occurred while deleting folder {folderNames}\r\n{ex}",
LogType.Error, true);
}
Expand Down Expand Up @@ -2300,7 +2300,7 @@ public virtual async ValueTask ApplyHdiffListPatch()
}
catch (Exception ex)
{
await SentryHelper.ExceptionHandler_ForLoop_Async(ex);
await SentryHelper.ExceptionHandler_ForLoopAsync(ex);
LogWriteLine($"Error while patching file: {entry.remoteName}. Skipping!\r\n{ex}", LogType.Warning,
true);
Expand Down Expand Up @@ -2328,7 +2328,7 @@ public virtual async ValueTask ApplyHdiffListPatch()
}
catch (Exception ex)
{
await SentryHelper.ExceptionHandler_ForLoop_Async(ex, SentryHelper.ExceptionType.UnhandledOther);
await SentryHelper.ExceptionHandler_ForLoopAsync(ex, SentryHelper.ExceptionType.UnhandledOther);
LogWriteLine($"Failed while trying to delete temporary file: {destPath}, skipping!\r\n{ex}",
LogType.Warning, true);
}
Expand Down
2 changes: 1 addition & 1 deletion Hi3Helper.TaskScheduler/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
"contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ=="
}
},
".NETFramework,Version=v4.6.2/win-x64": {
".NETFramework,Version=v4.6.2/win-x86": {
"System.Net.Http": {
"type": "Direct",
"requested": "[4.3.4, )",
Expand Down

0 comments on commit 41950e0

Please sign in to comment.