Fix crash

This commit is contained in:
Neil Alexander 2021-12-09 10:24:51 +00:00
parent 645e3f5833
commit 1c117cf768
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 9 additions and 0 deletions

View file

@ -102,6 +102,7 @@ func (r *Inputer) processRoomEvent(
// First of all, check that the auth events of the event are known.
// If they aren't then we will ask the federation API for them.
if err := r.checkForMissingAuthEvents(ctx, input); err != nil {
logrus.WithError(err).Error("XXX: r.checkForMissingAuthEvents")
return "", fmt.Errorf("r.checkForMissingAuthEvents: %w", err)
}