]> source.dussan.org Git - gitea.git/commit
Only log non ErrNotExist errors in git.GetNote (#19884) (#19905)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 7 Jun 2022 13:39:08 +0000 (21:39 +0800)
committerGitHub <noreply@github.com>
Tue, 7 Jun 2022 13:39:08 +0000 (21:39 +0800)
commitae91913132fe2cf0db03b9d3012b7f663375ee5b
tree456f92733f46931dd464b5b0cf98481e51fee655
parent0e7791174d35f3e009aefe227992bc640980e830
Only log non ErrNotExist errors in git.GetNote  (#19884) (#19905)

* Fix GetNote

* Only log errors if the error is not ErrNotExist

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
modules/git/notes_nogogit.go