Log the stack when waiting for an entire room to be un-partial stated (#13257)

The stack is already logged when waiting for an event to be un-partial
stated. Log the stack for rooms as well, to aid in debugging.
This commit is contained in:
Sean Quah 2022-07-12 18:57:38 +01:00 committed by GitHub
parent 6f30eb5b8e
commit 3f178332d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/13257.misc Normal file
View File

@ -0,0 +1 @@
Log the stack when waiting for an entire room to be un-partial stated.

View File

@ -166,6 +166,7 @@ class PartialCurrentStateTracker:
logger.info( logger.info(
"Awaiting un-partial-stating of room %s", "Awaiting un-partial-stating of room %s",
room_id, room_id,
stack_info=True,
) )
await make_deferred_yieldable(d) await make_deferred_yieldable(d)