Skip to content

Commit cad3ea6

Browse files
committed
add print statements
1 parent a6a3d25 commit cad3ea6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ee/cli/pkg/drift/github_issue.go

+2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ func (ghi GithubIssueNotification) Send(projectName string, plan string) error {
2525
return item.Title == title
2626
})
2727
if exists {
28+
log.Printf("Issue found: %v", theIssue)
2829
_, err := (*ghi.GithubService).UpdateIssue(theIssue.ID, theIssue.Title, theIssue.Body)
2930
if err != nil {
3031
log.Printf("error while updating issue: %v", err)
3132
}
3233
return err
3334
} else {
35+
log.Printf("Issue NOT found: %v", theIssue)
3436
_, err := (*ghi.GithubService).PublishIssue(title, message)
3537
if err != nil {
3638
log.Printf("error while publishing issue: %v", err)

0 commit comments

Comments
 (0)