`IdempotencyRequestCache`: Await task so that it's observed
MODIFY
WalletWasabi.Backend/Controllers/WabiSabi/IdempotencyRequestCache.cs
WalletWasabi.Backend/Controllers/WabiSabi/IdempotencyRequestCache.cs
@@ -63,7 +63,9 @@ public class IdempotencyRequestCache
catch (Exception e)
{
responseTcs.SetException(e);
- throw;
+
+ // To avoid unobserved exception.
+ await responseTcs.Task.ConfigureAwait(false);
}
}
else

`IdempotencyRequestCache`: Await task so that it's observed