Skip to content

Commit 3797515

Browse files
committed
Fix typo in assertion message
1 parent eae83e8 commit 3797515

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

synapse/util/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def _looping_call_common(
200200

201201
def wrapped_f(*args: P.args, **kwargs: P.kwargs) -> Deferred:
202202
assert context.current_context() is context.SENTINEL_CONTEXT, (
203-
"Expected `call_later` callback from the reactor to start with the sentinel logcontext "
203+
"Expected `looping_call` callback from the reactor to start with the sentinel logcontext "
204204
f"but saw {context.current_context()}. In other words, another task shouldn't have "
205205
"leaked their logcontext to us."
206206
)

0 commit comments

Comments
 (0)