Add log stating the amount of entries fetched.

pull/2/head
Tom Hacohen 7 years ago
parent aff3be7af4
commit 5ec0dd45b5

@ -254,6 +254,8 @@ abstract public class SyncManager {
protected void fetchEntries() throws Exceptions.HttpException, ContactsStorageException, CalendarStorageException, Exceptions.IntegrityException {
remoteEntries = journal.getEntries(settings.password(), remoteCTag);
App.log.info("Fetched " + String.valueOf(remoteEntries.size()) + " entries");
if (!remoteEntries.isEmpty()) {
remoteCTag = remoteEntries.get(remoteEntries.size() - 1).getUuid();

Loading…
Cancel
Save