mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-07 05:38:06 -05:00
client: Log an error if we fail to fetch the room history.
This commit is contained in:
parent
872267073b
commit
1582d7ebf5
@ -283,7 +283,8 @@ class PanClient(AsyncClient):
|
|||||||
fetch_task.token,
|
fetch_task.token,
|
||||||
limit=self.pan_conf.indexing_batch_size,
|
limit=self.pan_conf.indexing_batch_size,
|
||||||
)
|
)
|
||||||
except ClientConnectionError:
|
except ClientConnectionError as e:
|
||||||
|
logger.debug("Error fetching room history: ", e)
|
||||||
await self.history_fetch_queue.put(fetch_task)
|
await self.history_fetch_queue.put(fetch_task)
|
||||||
|
|
||||||
# The chunk was empty, we're at the start of the timeline.
|
# The chunk was empty, we're at the start of the timeline.
|
||||||
|
Loading…
Reference in New Issue
Block a user