Change logging level of invalid sync token to warning
Some clients stop to work, when told their sync-token are invalid.
This commit is contained in:
parent
1b54b23bb3
commit
13381fb829
@ -1039,8 +1039,8 @@ def report(base_prefix, path, xml_request, collection):
|
|||||||
sync_token, names = collection.sync(old_sync_token)
|
sync_token, names = collection.sync(old_sync_token)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
# Invalid sync token
|
# Invalid sync token
|
||||||
collection.logger.info("Client provided invalid sync token %r: %s",
|
collection.logger.warning("Client provided invalid sync token %r: "
|
||||||
old_sync_token, e, exc_info=True)
|
"%s", old_sync_token, e, exc_info=True)
|
||||||
return client.PRECONDITION_FAILED, None
|
return client.PRECONDITION_FAILED, None
|
||||||
hreferences = ("/" + posixpath.join(collection.path, n) for n in names)
|
hreferences = ("/" + posixpath.join(collection.path, n) for n in names)
|
||||||
# Append current sync token to response
|
# Append current sync token to response
|
||||||
|
Loading…
Reference in New Issue
Block a user