1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-05 17:18:21 +00:00

Ignore missing comment for user notifications (#18954) (#19043)

This commit is contained in:
zeripath
2022-03-10 06:48:27 +00:00
committed by GitHub
parent 03d924238c
commit 4047c5c068
2 changed files with 5 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ func ListRepoNotifications(ctx *context.APIContext) {
return
}
err = nl.LoadAttributes()
if err != nil && !models.IsErrCommentNotExist(err) {
if err != nil {
ctx.InternalServerError(err)
return
}