Skip to content

Commit a329b68

Browse files
committed
add log message when adding issue to project column
1 parent ce95efe commit a329b68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/github/issue.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ func (i Issue) CurrentLabels() (slices.StringSlice, error) {
6161

6262
// AddToProject adds the issue to the given project. If the project doesn't exist it returns an error
6363
func (i Issue) AddToProject(projectURL, column string) error {
64+
log.Printf("Adding to project %s in column %s", projectURL, column)
6465
issue, _, err := i.GHClient.Issues.Get(context.Background(), i.Owner, i.Name, i.Number)
6566
if err != nil {
6667
return fmt.Errorf("cannot get issue with number %d. error message : %s", i.Number, err.Error())

0 commit comments

Comments
 (0)