Fix tests

This commit is contained in:
nicolas.dorier
2019-03-31 13:31:50 +09:00
parent 73d5415ea9
commit 767eca97cb

View File

@@ -108,9 +108,8 @@ namespace BTCPayServer.HostedServices
{
await Task.WhenAll(processing).WithCancellation(cancellationToken);
}
catch (Exception) when (cancellationToken.IsCancellationRequested)
catch (Exception) when (!cancellationToken.IsCancellationRequested)
{
throw;
}
}