mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
31c1209c50
`StreamToken.from_string` and `RoomStreamToken.parse` are both async methods that could be cancelled. These methods must not replace `CancelledError`s with `SynapseError`s. Signed-off-by: Sean Quah <seanq@element.io>
1 line
131 B
Text
1 line
131 B
Text
Make `StreamToken.from_string` and `RoomStreamToken.parse` propagate cancellations instead of replacing them with `SynapseError`s.
|