Drop assertion on legit intents scenario
This commit is contained in:
parent
f95e4f228d
commit
6031d0119a
|
@ -24,7 +24,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
import PassepartoutCore
|
import PassepartoutLibrary
|
||||||
|
|
||||||
extension Constants.App {
|
extension Constants.App {
|
||||||
static func tunnelBundleId(_ vpnProtocol: VPNProtocolType) -> String {
|
static func tunnelBundleId(_ vpnProtocol: VPNProtocolType) -> String {
|
||||||
|
|
|
@ -27,6 +27,7 @@ import Foundation
|
||||||
import Intents
|
import Intents
|
||||||
import IntentsUI
|
import IntentsUI
|
||||||
import Combine
|
import Combine
|
||||||
|
import PassepartoutLibrary
|
||||||
|
|
||||||
@MainActor
|
@MainActor
|
||||||
class IntentsManager: NSObject, ObservableObject {
|
class IntentsManager: NSObject, ObservableObject {
|
||||||
|
@ -54,7 +55,7 @@ class IntentsManager: NSObject, ObservableObject {
|
||||||
}
|
}
|
||||||
isReloadingShortcuts = false
|
isReloadingShortcuts = false
|
||||||
} catch {
|
} catch {
|
||||||
assertionFailure("Unable to fetch existing shortcuts: \(error)")
|
pp_log.error("Unable to fetch existing shortcuts: \(error)")
|
||||||
isReloadingShortcuts = false
|
isReloadingShortcuts = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue