mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-15 01:33:25 +01:00
App builds in xcodeproj (todo widget)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
import Foundation
|
||||
import SideStoreCore
|
||||
import Intents
|
||||
import os.log
|
||||
|
||||
@available(iOS 14, *)
|
||||
public final class IntentHandler: NSObject, RefreshAllIntentHandling {
|
||||
@@ -107,7 +108,7 @@ private extension IntentHandler {
|
||||
} catch RefreshError.noInstalledApps {
|
||||
self.finish(intent, response: RefreshAllIntentResponse(code: .success, userActivity: nil))
|
||||
} catch let error as NSError {
|
||||
print("Failed to refresh apps in background.", error)
|
||||
os_log("Failed to refresh apps in background. %@", type: .error , error.localizedDescription)
|
||||
self.finish(intent, response: RefreshAllIntentResponse.failure(localizedDescription: error.localizedFailureReason ?? error.localizedDescription))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user