mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 17:00: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);
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue