client: Log an error if we fail to fetch the room history.

This commit is contained in:
Damir Jelić 2019-07-22 11:20:29 +02:00
parent 872267073b
commit 1582d7ebf5

View File

@ -283,7 +283,8 @@ class PanClient(AsyncClient):
fetch_task.token,
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)
# The chunk was empty, we're at the start of the timeline.