mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
catch cancled task exception in notif
This commit is contained in:
parent
dc43b54892
commit
a0065bc2ba
@ -91,6 +91,10 @@ namespace BTCPayServer.Controllers
|
||||
await Task.Delay(2000, cancellationToken);
|
||||
}
|
||||
}
|
||||
catch(TaskCanceledException)
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
finally
|
||||
{
|
||||
subscription?.Dispose();
|
||||
|
Loading…
Reference in New Issue
Block a user