]> Sergey Matveev's repositories - sgblog.git/blobdiff - cmd/sgblog/http.go
Skip comments to possibly unexisting commits
[sgblog.git] / cmd / sgblog / http.go
index ce4bdccb854c8d8d1f86daf971a7b83f9f19ec2b..bad1cb8688e38a0342d6580c4cb30028330ef413 100644 (file)
@@ -625,7 +625,7 @@ func serveHTTP() {
                        ))
                        commit, err = repo.CommitObject(commentedHash)
                        if err != nil {
-                               makeErr(err)
+                               continue
                        }
                        comments := parseComments(getNote(t, commentedHash))
                        if len(comments) == 0 {