We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64399ae commit 7c7eb9eCopy full SHA for 7c7eb9e
routers/repo/issue.go
@@ -1079,8 +1079,10 @@ func ViewIssue(ctx *context.Context) {
1079
}
1080
} else if comment.Type == models.CommentTypeRemoveDependency || comment.Type == models.CommentTypeAddDependency {
1081
if err = comment.LoadDepIssueDetails(); err != nil {
1082
- ctx.ServerError("LoadDepIssueDetails", err)
1083
- return
+ if !models.IsErrIssueNotExist(err) {
+ ctx.ServerError("LoadDepIssueDetails", err)
1084
+ return
1085
+ }
1086
1087
} else if comment.Type == models.CommentTypeCode || comment.Type == models.CommentTypeReview {
1088
comment.RenderedContent = string(markdown.Render([]byte(comment.Content), ctx.Repo.RepoLink,
0 commit comments