loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Check error in GetRepoFileContent for io.ReadAll

+4 -1
+4 -1
services/markup/processorhelper.go
··· 87 87 } 88 88 defer dataRc.Close() 89 89 90 - buf, _ := io.ReadAll(dataRc) 90 + buf, err := io.ReadAll(dataRc) 91 + if err != nil { 92 + log.Error("failed to completly read blob for %-v:%s. Error: %v", repo, filePath, err) 93 + } 91 94 92 95 fileContent, _, err := highlight.File(blob.Name(), language, buf) 93 96 if err != nil {