mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fixes accidentally saving CancellationErrors to error log
This commit is contained in:
@@ -2103,6 +2103,7 @@ private extension AppManager
|
|||||||
switch error
|
switch error
|
||||||
{
|
{
|
||||||
case is CancellationError: return // Don't log CancellationErrors
|
case is CancellationError: return // Don't log CancellationErrors
|
||||||
|
case let nsError as NSError where nsError.domain == CancellationError()._domain: return
|
||||||
default: break
|
default: break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user