Return error

This commit is contained in:
Neil Alexander 2021-06-30 09:18:20 +01:00
parent 9c469ca089
commit 7b0ad24a45
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -572,7 +572,7 @@ withNextEvent:
if err != nil { if err != nil {
logger.WithError(err).Warnf("Failed to retrieve auth event %q", missingAuthEventID) logger.WithError(err).Warnf("Failed to retrieve auth event %q", missingAuthEventID)
if errors.Is(err, context.DeadlineExceeded) { if errors.Is(err, context.DeadlineExceeded) {
break return err
} }
continue withNextServer continue withNextServer
} }