From 8533659b74d23b8bf9272bbb5a23f330e04826a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Wed, 12 Feb 2025 16:12:01 +0100 Subject: [PATCH] Misc cleanup --- ArchiSteamFarm/Program.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ArchiSteamFarm/Program.cs b/ArchiSteamFarm/Program.cs index ddc247b5d..1538515dc 100644 --- a/ArchiSteamFarm/Program.cs +++ b/ArchiSteamFarm/Program.cs @@ -28,8 +28,6 @@ using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; -using System.Net.Http; -using System.Net.Quic; using System.Reflection; using System.Runtime.InteropServices; using System.Text; @@ -534,14 +532,7 @@ internal static class Program { ArgumentNullException.ThrowIfNull(e); ArgumentNullException.ThrowIfNull(e.Exception); - // TODO: Remove conditionally ignoring exceptions once reports are resolved - // https://github.com/dotnet/runtime/issues/80111 - // https://github.com/dotnet/runtime/issues/102772 - bool ignored = e.Exception.InnerExceptions.Any(static exception => exception is HttpIOException or QuicException); - - if (!ignored) { - await ASF.ArchiLogger.LogFatalException(e.Exception).ConfigureAwait(false); - } + await ASF.ArchiLogger.LogFatalException(e.Exception).ConfigureAwait(false); // Normally we should abort the application, but due to the fact that unobserved exceptions do not have to do that, it's a better idea to log it and try to continue e.SetObserved();