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

* 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>
modules/git/notes_nogogit.go