From 9a115b7bc7065cd457ee5b7406c228aa0018677a Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Sat, 15 Aug 2026 00:24:42 +0400 Subject: [PATCH] wip --- apps/ios/Shared/Views/Badges/BadgeStore.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/ios/Shared/Views/Badges/BadgeStore.swift b/apps/ios/Shared/Views/Badges/BadgeStore.swift index 323fd4e83a..8d092bbc19 100644 --- a/apps/ios/Shared/Views/Badges/BadgeStore.swift +++ b/apps/ios/Shared/Views/Badges/BadgeStore.swift @@ -104,7 +104,10 @@ final class BadgeStore: ObservableObject { let byId = Dictionary(loaded.map { ($0.id, $0) }, uniquingKeysWith: { p, _ in p }) let missing = badgeProductIds.filter { byId[$0] == nil } if !missing.isEmpty { - logger.warning("BadgeStore.load: no product returned for \(missing.joined(separator: ", "))") + // the store drops ids it cannot resolve without saying why, so the storefront and + // the bundle the request was made for are logged with them + let storefront = await Storefront.current + logger.warning("BadgeStore.load: no product returned for \(missing.joined(separator: ", ")) - bundle \(Bundle.main.bundleIdentifier ?? "?"), storefront \(storefront?.countryCode ?? "none"), canMakePayments \(AppStore.canMakePayments)") } await MainActor.run { products = byId