mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-26 01:10:39 +00:00
log crashes in RemoteConfigService
This commit is contained in:
parent
b40bbff2b6
commit
6498051983
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ class RemoteConfigService implements IRemoteConfigService {
|
||||||
final feature = Feature.values.firstWhere((f) => f.name == value.key);
|
final feature = Feature.values.firstWhere((f) => f.name == value.key);
|
||||||
result[feature] = value.value.toValue(feature);
|
result[feature] = value.value.toValue(feature);
|
||||||
} catch (e, stackTrace) {
|
} catch (e, stackTrace) {
|
||||||
log(e.toString(), stackTrace: stackTrace);
|
_logError(e, stackTrace: stackTrace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
@ -91,7 +91,7 @@ class RemoteConfigService implements IRemoteConfigService {
|
||||||
try {
|
try {
|
||||||
updatedFeatures.add(Feature.values.firstWhere((element) => element.name == key));
|
updatedFeatures.add(Feature.values.firstWhere((element) => element.name == key));
|
||||||
} catch (e, stackTrace) {
|
} catch (e, stackTrace) {
|
||||||
log(e.toString(), stackTrace: stackTrace);
|
_logError(e, stackTrace: stackTrace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return updatedFeatures;
|
return updatedFeatures;
|
||||||
|
|
Loading…
Reference in a new issue