summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-03-01 09:51:38 +0000
committerGitHub <noreply@github.com>2022-03-01 09:51:38 +0000
commit5458eb8551be676fea7ff21e2b0d3c3762c871a7 (patch)
treea0c6c1e8db226d76a0c5af7b73395494639818ee /changelog.d
parentImprove exception handling for concurrent execution (#12109) (diff)
downloadsynapse-5458eb8551be676fea7ff21e2b0d3c3762c871a7.tar.xz
Fix 'Unhandled error in Deferred' (#12089)
* Fix 'Unhandled error in Deferred'

Fixes a CRITICAL "Unhandled error in Deferred" log message which happened when
a function wrapped with `@cachedList` failed

* Minor optimisation to cachedListDescriptor

we can avoid re-using `missing`, which saves looking up entries in
`deferreds_map`, and means we don't need to copy it.

* Improve type annotation on CachedListDescriptor
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/12089.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12089.bugfix b/changelog.d/12089.bugfix
new file mode 100644
index 0000000000..27172c4828
--- /dev/null
+++ b/changelog.d/12089.bugfix
@@ -0,0 +1 @@
+Fix occasional 'Unhandled error in Deferred' error message.