Fix logging line

This commit is contained in:
Neil Alexander 2020-10-06 16:24:18 +01:00
parent 202229818d
commit 469dc7fbb4
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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