Replaces OperationError.cancelled with CancellationError

Keeps `OperationError.cancelled` around for source-compatibility, but now returns CancellationError() instead of OperationError.
This commit is contained in:
Riley Testut
2023-05-11 17:15:33 -05:00
committed by Magesh K
parent 7dfbba9b00
commit d560e14423
2 changed files with 5 additions and 5 deletions

View File

@@ -2068,7 +2068,7 @@ private extension AppManager
{
switch error
{
case ~OperationError.Code.cancelled: return // Don't log OperationError.cancelled
case is CancellationError: return // Don't log CancellationErrors
default: break
}