Add extra log lines

This commit is contained in:
Vishnu Mohandas 2020-11-01 11:00:36 +05:30
parent 89c5d37389
commit deeffa6d56

View file

@ -45,6 +45,7 @@ class CollectionsService {
}
Future<void> sync() async {
_logger.info("Syncing");
final lastCollectionCreationTime =
await _db.getLastCollectionUpdationTime();
final fetchedCollections =
@ -64,6 +65,7 @@ class CollectionsService {
_cacheCollectionAttributes(collection);
}
if (fetchedCollections.isNotEmpty) {
_logger.info("Collections updated");
Bus.instance.fire(CollectionUpdatedEvent());
}
}