From 1d101ce7a85144bc40e7ab58e144bb5726c8d64d Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 25 Sep 2024 16:12:15 +0100 Subject: [PATCH] log invalid SSS to_device.since fields --- synapse/types/rest/client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/types/rest/client/__init__.py b/synapse/types/rest/client/__init__.py index 9f6fb087c1..84bf69ea19 100644 --- a/synapse/types/rest/client/__init__.py +++ b/synapse/types/rest/client/__init__.py @@ -313,7 +313,7 @@ class SlidingSyncBody(RequestBodyModel): int(value) except ValueError: raise ValueError( - "'extensions.to_device.since' is invalid (should look like an int)" + f"'extensions.to_device.since' is invalid (found '{value}', expected to be able to parse an int)" ) return value