Add `Task.Delay` exceptions to the aggregate
MODIFY
WalletWasabi/WabiSabi/Client/WabiSabiHttpApiClient.cs
WalletWasabi/WabiSabi/Client/WabiSabiHttpApiClient.cs
@@ -102,8 +102,15 @@ public class WabiSabiHttpApiClient : IWabiSabiApiRequestHandler
exceptions.Add(e);
}
+ try
+ {
// Wait before the next try.
await Task.Delay(250, cancellationToken).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ exceptions.Add(e);
+ }
attempt++;
} while (!combinedToken.IsCancellationRequested);

Add `Task.Delay` exceptions to the aggregate