Live video on the AT Protocol

feeds: skip users who have streamed with no livestream

+3 -1
+3 -1
pkg/spxrpc/app_bsky_feed.go
··· 11 11 "github.com/bluesky-social/indigo/api/bsky" 12 12 appbskytypes "github.com/bluesky-social/indigo/api/bsky" 13 13 "github.com/labstack/echo/v4" 14 + "stream.place/streamplace/pkg/log" 14 15 "stream.place/streamplace/pkg/model" 15 16 ) 16 17 ··· 63 64 for _, seg := range segs { 64 65 ls, err := s.model.GetLatestLivestreamForRepo(seg.RepoDID) 65 66 if err != nil { 66 - return nil, echo.NewHTTPError(http.StatusInternalServerError, fmt.Sprintf("failed to get latest livestream: %v", err)) 67 + log.Error(ctx, "failed to get latest livestream, skipping", "repoDID", seg.RepoDID, "error", err) 68 + continue 67 69 } 68 70 posts = append(posts, model.FeedPost{ 69 71 URI: ls.PostURI,