From 64980519834bd69a8f07056ec375a9dd2b4a7962 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Sat, 27 Jan 2024 22:01:12 +0100 Subject: [PATCH] log crashes in `RemoteConfigService` --- lib/data/remote_config_service.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/data/remote_config_service.dart b/lib/data/remote_config_service.dart index 7c80d0f..e15a927 100644 --- a/lib/data/remote_config_service.dart +++ b/lib/data/remote_config_service.dart @@ -76,7 +76,7 @@ class RemoteConfigService implements IRemoteConfigService { final feature = Feature.values.firstWhere((f) => f.name == value.key); result[feature] = value.value.toValue(feature); } catch (e, stackTrace) { - log(e.toString(), stackTrace: stackTrace); + _logError(e, stackTrace: stackTrace); } } return result; @@ -91,7 +91,7 @@ class RemoteConfigService implements IRemoteConfigService { try { updatedFeatures.add(Feature.values.firstWhere((element) => element.name == key)); } catch (e, stackTrace) { - log(e.toString(), stackTrace: stackTrace); + _logError(e, stackTrace: stackTrace); } } return updatedFeatures;