Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 2318603

Browse files
authored
Add some logging to help track down #13444 (#13679)
1 parent e8130f2 commit 2318603

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

changelog.d/13679.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add some logging to help track down #13444.

synapse/federation/sender/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,19 @@ async def handle_event(event: EventBase) -> None:
441441
destinations = await self._external_cache.get(
442442
"get_joined_hosts", str(sg)
443443
)
444+
if destinations is None:
445+
# Add logging to help track down #13444
446+
logger.info(
447+
"Unexpectedly did not have cached destinations for %s / %s",
448+
sg,
449+
event.event_id,
450+
)
451+
else:
452+
# Add logging to help track down #13444
453+
logger.info(
454+
"Unexpectedly did not have cached prev group for %s",
455+
event.event_id,
456+
)
444457

445458
if destinations is None:
446459
try:

0 commit comments

Comments
 (0)