mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 01:21:09 +03:00
log invalid SSS to_device.since fields
This commit is contained in:
parent
d5f42f4655
commit
1d101ce7a8
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ class SlidingSyncBody(RequestBodyModel):
|
||||||
int(value)
|
int(value)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise 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
|
return value
|
||||||
|
|
Loading…
Reference in a new issue