mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-16 02:03:32 +01:00
Fixes incorrectly handling misc. CancellationErrors
This commit is contained in:
@@ -208,6 +208,10 @@ private extension BackgroundRefreshAppsOperation
|
||||
content.title = NSLocalizedString("Refreshed Apps", comment: "")
|
||||
content.body = NSLocalizedString("All apps have been refreshed.", comment: "")
|
||||
}
|
||||
catch is CancellationError
|
||||
{
|
||||
shouldPresentAlert = false
|
||||
}
|
||||
catch ~OperationError.Code.serverNotFound
|
||||
{
|
||||
shouldPresentAlert = false
|
||||
|
||||
Reference in New Issue
Block a user