mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Replaces OperationError.cancelled with CancellationError
Keeps `OperationError.cancelled` around for source-compatibility, but now returns CancellationError() instead of OperationError.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user