From 45d434e64ef2e17a06af0cab24b309792bc1ed94 Mon Sep 17 00:00:00 2001 From: Archi Date: Fri, 13 Jan 2023 10:43:45 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Program.cs b/ArchiSteamFarm/Program.cs index 603783f1f..c96378805 100644 --- a/ArchiSteamFarm/Program.cs +++ b/ArchiSteamFarm/Program.cs @@ -543,7 +543,7 @@ internal static class Program { ArgumentNullException.ThrowIfNull(e.Exception); // TODO: Remove conditionally ignoring QuicException once https://github.com/dotnet/runtime/issues/80111 is resolved - if (e.Exception.InnerExceptions.All(static exception => exception is not QuicException)) { + if ((e.Exception.InnerExceptions.Count == 0) || e.Exception.InnerExceptions.All(static exception => exception is not QuicException)) { await ASF.ArchiLogger.LogFatalException(e.Exception).ConfigureAwait(false); }