From f48caa08e974d78044f11be62d2edeb6290778e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Sat, 12 Oct 2024 21:05:00 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs b/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs index dac637e76..6ce16077f 100644 --- a/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs +++ b/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs @@ -206,7 +206,7 @@ public sealed class ASFController : ArchiController { try { (success, message, version) = await Task.Run(() => Actions.Update(request.Channel, request.Forced), ApplicationLifetime.ApplicationStopping).ConfigureAwait(false); - } catch (TaskCanceledException e) { + } catch (TaskCanceledException) { // It's almost guaranteed that this is the result of update process requesting kestrel shutdown // However, we're still going to check PendingVersionUpdate, which should be set by the update process as alternative way to inform us about pending update version = PendingVersionUpdate;