summaryrefslogtreecommitdiffstats
path: root/options/locale/locale_lv-LV.ini
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-07-13 23:24:29 +0100
committerGitHub <noreply@github.com>2022-07-14 00:24:29 +0200
commitfe09ee564dc90b261beb7b34801b3176c89483a5 (patch)
treec4973370242ffd4255afb36b43f9cdef8594cedc /options/locale/locale_lv-LV.ini
parent07ec8288bff6295c7db5558846153a61625af80d (diff)
downloadgitea-fe09ee564dc90b261beb7b34801b3176c89483a5.tar.gz
gitea-fe09ee564dc90b261beb7b34801b3176c89483a5.zip
Prevent context deadline error propagation in GetCommitsInfo (#20346)
* Prevent context deadline error propagation in GetCommitsInfo Although `WalkGitLog` tries to test for `context.DeadlineExceededErr` there is a small chance that the error will propagate to the reader before it is recognised. This will cause the error to propagate up to `renderDirectoryFiles` and cause a http status 500. Here we check that the error passed is a `DeadlineExceededErr` via error.Is Fix #20329 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'options/locale/locale_lv-LV.ini')
0 files changed, 0 insertions, 0 deletions