diff --git a/ArchiSteamFarm/ASF.cs b/ArchiSteamFarm/ASF.cs index daaab1097..cbb0d1597 100644 --- a/ArchiSteamFarm/ASF.cs +++ b/ArchiSteamFarm/ASF.cs @@ -298,8 +298,13 @@ namespace ArchiSteamFarm { return null; } - // We disable ArchiKestrel here as the update process moves the core files and might result in IPC crash - await ArchiKestrel.Stop().ConfigureAwait(false); + try { + // We disable ArchiKestrel here as the update process moves the core files and might result in IPC crash + // TODO: It might fail if the update was triggered from the API, this should be something to improve in the future, by changing the structure into request -> return response -> finish update + await ArchiKestrel.Stop().ConfigureAwait(false); + } catch (Exception e) { + ArchiLogger.LogGenericWarningException(e); + } try { #if !NETFRAMEWORK