summary refs log tree commit diff
path: root/changelog.d/12366.misc
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-04-05 16:56:52 +0100
committerGitHub <noreply@github.com>2022-04-05 16:56:52 +0100
commit31c1209c50c08929fe7c6f2f7531fb9def422c94 (patch)
tree99406c7485bfc962f017fc1776013e97030af593 /changelog.d/12366.misc
parentUpdate docstrings for `ReadWriteLock` tests (#12354) (diff)
downloadsynapse-31c1209c50c08929fe7c6f2f7531fb9def422c94.tar.xz
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>
Diffstat (limited to 'changelog.d/12366.misc')
-rw-r--r--changelog.d/12366.misc1
1 files changed, 1 insertions, 0 deletions
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.