Skip to content

Commit 049d907

Browse files
committed
Error more verbose
1 parent 98bb9e2 commit 049d907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/notification.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ func (n *Notification) loadComment(e Engine) (err error) {
403403
if n.Comment == nil && n.CommentID > 0 {
404404
n.Comment, err = GetCommentByID(n.CommentID)
405405
if err != nil {
406-
return fmt.Errorf("GetCommentByID [%d]: %v", n.CommentID, err)
406+
return fmt.Errorf("GetCommentByID [%d] for issue ID [%d]: %v", n.CommentID, n.IssueID, err)
407407
}
408408
}
409409
return nil

0 commit comments

Comments
 (0)