log invalid SSS to_device.since fields

This commit is contained in:
Andrew Morgan 2024-09-25 16:12:15 +01:00
parent d5f42f4655
commit 1d101ce7a8

View file

@ -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