Fixes accidentally saving CancellationErrors to error log

This commit is contained in:
Riley Testut
2023-12-07 17:02:13 -06:00
parent 6a37957121
commit a8589526f1

View File

@@ -1914,6 +1914,7 @@ private extension AppManager
switch error
{
case is CancellationError: return // Don't log CancellationErrors
case let nsError as NSError where nsError.domain == CancellationError()._domain: return
default: break
}