You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixesgo-gitea#21184
Regression of go-gitea#19552
Instead of using `GetBlobByPath` I use the already existing instances.
We need more information from go-gitea#19530 if that error is still present.
log.Error("CreateCsvDiff error whilst creating baseReader from file %s in commit %s in %s: %v", diffFile.Name, baseCommit.ID.String(), ctx.Repo.Repository.Name, err)
151
-
returnCsvDiffResult{nil, "unable to load file from base commit"}
147
+
iferr==errTooLarge {
148
+
returnCsvDiffResult{nil, err.Error()}
149
+
}
150
+
log.Error("error whilst creating csv.Reader from file %s in base commit %s in %s: %v", diffFile.Name, baseBlob.ID.String(), ctx.Repo.Repository.Name, err)
log.Error("CreateCsvDiff error whilst creating headReader from file %s in commit %s in %s: %v", diffFile.Name, headCommit.ID.String(), ctx.Repo.Repository.Name, err)
163
-
returnCsvDiffResult{nil, "unable to load file from head commit"}
159
+
iferr==errTooLarge {
160
+
returnCsvDiffResult{nil, err.Error()}
161
+
}
162
+
log.Error("error whilst creating csv.Reader from file %s in head commit %s in %s: %v", diffFile.Name, headBlob.ID.String(), ctx.Repo.Repository.Name, err)
0 commit comments