From 4c0d216cb970865ce206a60a29f1eafb6d190d56 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 16 Nov 2025 15:50:05 +0100 Subject: [PATCH] log path on invalid sync token --- radicale/app/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/app/report.py b/radicale/app/report.py index 023e6fe4..42ce1ae0 100644 --- a/radicale/app/report.py +++ b/radicale/app/report.py @@ -213,8 +213,8 @@ def xml_report(base_prefix: str, path: str, xml_request: Optional[ET.Element], sync_token, names = collection.sync(old_sync_token) except ValueError as e: # Invalid sync token - logger.warning("Client provided invalid sync token: %s", - e, exc_info=True) + logger.warning("Client provided invalid sync token for path %r: %s", + path, e, exc_info=True) # client.CONFLICT doesn't work with some clients (e.g. InfCloud) return (client.FORBIDDEN, xmlutils.webdav_error("D:valid-sync-token"))