Log the identifier of the batch of events being requested

This commit is contained in:
Adrian Perez de Castro
2016-07-04 03:18:43 +03:00
parent 9cd4e13310
commit 02b3d880a6

View File

@@ -399,6 +399,7 @@ function Client:_sync(options)
options = {} options = {}
end end
options.since = self._sync_next_batch options.since = self._sync_next_batch
self._log("sync: Requesting with next_batch = %s", options.since)
local response = self._api:sync(options) local response = self._api:sync(options)
self._sync_next_batch = response.next_batch self._sync_next_batch = response.next_batch