Only logtrace OperationCanceledException
MODIFY
WalletWasabi/WabiSabi/Client/WabiSabiHttpApiClient.cs
WalletWasabi/WabiSabi/Client/WabiSabiHttpApiClient.cs
@@ -109,8 +109,16 @@ public class WabiSabiHttpApiClient : IWabiSabiApiRequestHandler
exceptions.Add(e);
}
catch (Exception e)
+ {
+ if (e is OperationCanceledException)
+ {
+ Logger.LogTrace($"Attempt {attempt} failed with {nameof(OperationCanceledException)}: {e.Message}.");
+ }
+ else
{
Logger.LogDebug($"Attempt {attempt} failed with exception {e}.");
+ }
+
if (exceptions.Any())
{
exceptions.Add(e);

Only logtrace OperationCanceledException