diff --git a/models/activities/action.go b/models/activities/action.go index 87228cc8347cb..8e7492c008f76 100644 --- a/models/activities/action.go +++ b/models/activities/action.go @@ -233,7 +233,7 @@ func (a *Action) loadComment(ctx context.Context) (err error) { return nil } a.Comment, err = issues_model.GetCommentByID(ctx, a.CommentID) - return + return err } func (a *Action) getCommentHTMLURL(ctx context.Context) string {