aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/label.go')
-rw-r--r--models/issues/label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/label.go b/models/issues/label.go
index be97454e26..bbdc99e265 100644
--- a/models/issues/label.go
+++ b/models/issues/label.go
@@ -667,7 +667,7 @@ func newIssueLabels(ctx context.Context, issue *Issue, labels []*Label, doer *us
}
if err = newIssueLabel(ctx, issue, label, doer); err != nil {
- return fmt.Errorf("newIssueLabel: %v", err)
+ return fmt.Errorf("newIssueLabel: %w", err)
}
}