Drop assertion on legit intents scenario

This commit is contained in:
Davide De Rosa 2022-10-13 18:31:56 +02:00
parent f95e4f228d
commit 6031d0119a
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@
//
import Foundation
import PassepartoutCore
import PassepartoutLibrary
extension Constants.App {
static func tunnelBundleId(_ vpnProtocol: VPNProtocolType) -> String {

View File

@ -27,6 +27,7 @@ import Foundation
import Intents
import IntentsUI
import Combine
import PassepartoutLibrary
@MainActor
class IntentsManager: NSObject, ObservableObject {
@ -54,7 +55,7 @@ class IntentsManager: NSObject, ObservableObject {
}
isReloadingShortcuts = false
} catch {
assertionFailure("Unable to fetch existing shortcuts: \(error)")
pp_log.error("Unable to fetch existing shortcuts: \(error)")
isReloadingShortcuts = false
}
}