log crashes in RemoteConfigService

This commit is contained in:
Vadim 2024-01-27 22:01:12 +01:00
parent b40bbff2b6
commit 6498051983

View file

@ -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;