Fixes accidentally saving CancellationErrors to error log

This commit is contained in:
Riley Testut
2023-12-07 17:02:13 -06:00
committed by Magesh K
parent 05332ca122
commit d625b381d9

View File

@@ -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
} }