π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Log error during sub fetch
Neeraj Guptaaa60c3c71a90
diff --git a/mobile/apps/photos/lib/ui/payment/store_subscription_page.dart b/mobile/apps/photos/lib/ui/payment/store_subscription_page.dartindex 6b27a57d24..c25ab461b9 100644--- a/mobile/apps/photos/lib/ui/payment/store_subscription_page.dart+++ b/mobile/apps/photos/lib/ui/payment/store_subscription_page.dart@@ -204,8 +204,9 @@ class _StoreSubscriptionPageState extends State<StoreSubscriptionPage> {}Future<void> _fetchSubData() async {- // ignore: unawaited_futures- _userService.getUserDetailsV2(memoryCount: false).then((userDetails) async {+ try {+ final userDetails =+ await _userService.getUserDetailsV2(memoryCount: false);_userDetails = userDetails;_currentSubscription = userDetails.subscription;@@ -236,7 +237,14 @@ class _StoreSubscriptionPageState extends State<StoreSubscriptionPage> {if (mounted) {setState(() {});}- });+ } catch (e, s) {+ _logger.severe("Error fetching subscription data", e, s);+ if (mounted) {+ setState(() {+ _isLoading = false;+ });+ }+ }}Widget _getBody() {