mirror of
https://gitee.com/gitea/gitea
synced 2026-01-01 05:06:36 +08:00
... instead of InternalServerError by macaron
This commit is contained in:
@@ -1105,7 +1105,7 @@ func ViewIssue(ctx *context.Context) {
|
||||
iw.IssueID = issue.ID
|
||||
iw.IsWatching, err = models.CheckIssueWatch(ctx.User, issue)
|
||||
if err != nil {
|
||||
ctx.InternalServerError(err)
|
||||
ctx.ServerError("CheckIssueWatch", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user