mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Don't give up if we fail to fetch a key (#1483)
* Don't give up if we fail to fetch a key * Fix logging line * furl nolint
This commit is contained in:
parent
ee79d662e7
commit
4feff8e8d9
3 changed files with 2 additions and 5 deletions
|
@ -195,7 +195,7 @@ func (r *Backfiller) fetchAndStoreMissingEvents(ctx context.Context, roomVer gom
|
|||
logger.Infof("returned %d PDUs which made events %+v", len(res.PDUs), result)
|
||||
for _, res := range result {
|
||||
if res.Error != nil {
|
||||
logger.WithError(err).Warn("event failed PDU checks")
|
||||
logger.WithError(res.Error).Warn("event failed PDU checks")
|
||||
continue
|
||||
}
|
||||
missingMap[id] = res.Event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue