mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 14:04:12 +01:00
Do not hide errors happening in tasks spawned by BaseAsyncService
This commit is contained in:
parent
e1a235b4e8
commit
e883714446
2 changed files with 9 additions and 1 deletions
|
@ -27,6 +27,12 @@ namespace BTCPayServer.HostedServices
|
|||
public virtual Task StartAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
_Tasks = InitializeTasks();
|
||||
foreach (var t in _Tasks)
|
||||
t.ContinueWith(t =>
|
||||
{
|
||||
if (t.IsFaulted)
|
||||
Logs.PayServer.LogWarning(t.Exception, $"Unhanded exception in {this.GetType().Name}");
|
||||
}, TaskScheduler.Default);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,9 +17,11 @@
|
|||
|
||||
### Improvement
|
||||
|
||||
* The wallet transaction list use infinity scroll rather than pagination @HamroRamro @dennisreimann
|
||||
* The wallet transaction list use infinity scroll rather than pagination (#4074) @HamroRamro @dennisreimann
|
||||
* Remove direct and temp link functionality from the File Storage (#4177) @daviogg
|
||||
* Fix warning error when rebooting the server caused by some shitcoin currency pair format @NicolasDorier
|
||||
* Add Invoice.OrderId to list of supported email interpolation strings (#4202) @bolatovumar
|
||||
* Do not hide errors happening in tasks spawned by BaseAsyncService @NicolasDorier
|
||||
|
||||
## 1.6.11
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue