From 1b37b909285e0c5ece12671a3fa06db8dd30f9f1 Mon Sep 17 00:00:00 2001 From: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> Date: Wed, 7 Jun 2023 14:40:58 -0500 Subject: [PATCH] Included additional log messages. Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 862a391..fa7cf6e 100644 --- a/main.go +++ b/main.go @@ -299,6 +299,7 @@ func GetDependencyDiff(owner, repo, token, base, head string) ([]DependencyDiff, func GetGitHubDependencyDiff(owner, repo, token, base, head string) (*http.Response, error) { req, err := http.NewRequest("GET", fmt.Sprintf("https://api.github.com/repos/%s/%s/dependency-graph/compare/%s...%s", owner, repo, base, head), nil) + log.Println(req.URL.String()) if err != nil { return nil, fmt.Errorf("failed to create request: %w", err) // handle err