Skip to content

Commit

Permalink
Merge branch 'main' into diego/remove-authorize-call
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed Apr 4, 2024
2 parents a7ddb4a + 73f68ee commit 65e4431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Subscription/AccountManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class AccountManager: AccountManaging {
return accessToken != nil
}

public convenience init(subscriptionAppGroup: String, accessTokenStorage: SubscriptionTokenStorage) {
public convenience init(subscriptionAppGroup: String?, accessTokenStorage: SubscriptionTokenStorage) {
self.init(accessTokenStorage: accessTokenStorage,
entitlementsCache: UserDefaultsCache<[Entitlement]>(subscriptionAppGroup: subscriptionAppGroup,
key: UserDefaultsCacheKey.subscriptionEntitlements,
Expand Down
2 changes: 1 addition & 1 deletion Sources/Subscription/PurchaseManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public final class PurchaseManager: ObservableObject {

return .success(())
} catch {
os_log(.error, log: .subscription, "[PurchaseManager] Error: %{public}s", String(reflecting: error))
os_log(.error, log: .subscription, "[PurchaseManager] Error: %{public}s (%{public}s)", String(reflecting: error), error.localizedDescription)
return .failure(error)
}
}
Expand Down

0 comments on commit 65e4431

Please sign in to comment.