diff --git a/src/Nito.Mvvm.Async/CancelCommand.cs b/src/Nito.Mvvm.Async/CancelCommand.cs index af86867..b83842b 100644 --- a/src/Nito.Mvvm.Async/CancelCommand.cs +++ b/src/Nito.Mvvm.Async/CancelCommand.cs @@ -118,14 +118,7 @@ public Func Wrap(Func executeAsyn { using (StartOperation()) { - try - { - await executeAsync(parameter, _context.Token); - } - catch (OperationCanceledException) - { - // We cannot use `when (ex.CancellationToken == cancellationToken)` on the catch block because the user delegate may be cancelled by a linked CancellationToken. - } + await executeAsync(parameter, _context.Token); } }; }