Add some logging to help track down #13444 (#13679)

pull/13696/head
Erik Johnston 2022-09-01 14:54:52 +02:00 committed by GitHub
parent e8130f219b
commit 2318603772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

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

@ -0,0 +1 @@
Add some logging to help track down #13444.

View File

@ -441,6 +441,19 @@ class FederationSender(AbstractFederationSender):
destinations = await self._external_cache.get(
"get_joined_hosts", str(sg)
)
if destinations is None:
# Add logging to help track down #13444
logger.info(
"Unexpectedly did not have cached destinations for %s / %s",
sg,
event.event_id,
)
else:
# Add logging to help track down #13444
logger.info(
"Unexpectedly did not have cached prev group for %s",
event.event_id,
)
if destinations is None:
try: