Skip to content

Commit

Permalink
Silence SteelSeries connection errors and http failures on async threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Chicken-Bones committed Sep 6, 2023
1 parent 48eb28a commit eb3a3df
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public static partial class Logging
"System.Diagnostics.Process.Kill", // attempt to kill non-started process when joining server
"UwUPnP", // UPnP does a lot of trial and error
"System.Threading.CancellationTokenSource.Cancel", // an operation (task) was deliberately cancelled
"System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync", // Async connection errors thrown on the thread pool. These get bounced back to the caller continuation and can be logged there
"ReLogic.Peripherals.RGB.SteelSeries.GameSenseConnection._sendMsg",
};
// There are a couple of annoying messages that happen during cancellation of asynchronous downloads, and they have no other useful info to suppress by
private static readonly List<string> ignoreMessages = new() {
Expand Down

0 comments on commit eb3a3df

Please sign in to comment.