diff --git a/appview/state/star.go b/appview/state/star.go index b2b2d59..08969f2 100644 --- a/appview/state/star.go +++ b/appview/state/star.go @@ -100,6 +100,7 @@ func (s *State) Star(w http.ResponseWriter, r *http.Request) { starCount, err := db.GetStarCount(s.db, subjectUri) if err != nil { log.Println("failed to get star count for ", subjectUri) + return } s.pages.RepoActionsFragment(w, pages.RepoActionsFragmentParams{