From 31c1209c50c08929fe7c6f2f7531fb9def422c94 Mon Sep 17 00:00:00 2001 From: Sean Quah <8349537+squahtx@users.noreply.github.com> Date: Tue, 5 Apr 2022 16:56:52 +0100 Subject: 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 --- changelog.d/12366.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/12366.misc (limited to 'changelog.d') diff --git a/changelog.d/12366.misc b/changelog.d/12366.misc new file mode 100644 index 0000000000..33d8e6c712 --- /dev/null +++ b/changelog.d/12366.misc @@ -0,0 +1 @@ +Make `StreamToken.from_string` and `RoomStreamToken.parse` propagate cancellations instead of replacing them with `SynapseError`s. -- cgit 1.4.1