mirror of https://github.com/watcha-fr/synapse
Make `StreamToken` and `RoomStreamToken` methods propagate cancellations (#12366)
`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>code_spécifique_watcha
parent
9c4c49991d
commit
31c1209c50
@ -0,0 +1 @@ |
||||
Make `StreamToken.from_string` and `RoomStreamToken.parse` propagate cancellations instead of replacing them with `SynapseError`s. |
Loading…
Reference in new issue