diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go index dec69a1f..032c0c3b 100644 --- a/federationapi/routing/send.go +++ b/federationapi/routing/send.go @@ -572,7 +572,7 @@ withNextEvent: if err != nil { logger.WithError(err).Warnf("Failed to retrieve auth event %q", missingAuthEventID) if errors.Is(err, context.DeadlineExceeded) { - break + return err } continue withNextServer }