Skip to content

Commit

Permalink
Use the SignalGracefulCrash in the BDS
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolay committed Mar 14, 2024
1 parent d7669e8 commit a12d871
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WalletWasabi/Wallets/FilterProcessor/BlockDownloadService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
using WalletWasabi.Services.Terminate;
using WalletWasabi.Wallets.BlockProvider;

namespace WalletWasabi.Wallets.FilterProcessor;
Expand Down Expand Up @@ -202,6 +203,7 @@ protected override async Task ExecuteAsync(CancellationToken cancellationToken)
{
// This shouldn't happen.
Logger.LogError(ex);
TerminateService.Instance?.SignalGracefulCrash(ex);
throw;
}
finally
Expand Down

0 comments on commit a12d871

Please sign in to comment.