Add extra log lines
This commit is contained in:
parent
89c5d37389
commit
deeffa6d56
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue