Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: reduce log of repo internal structure (#2833)

Yilong Libfd82fd1d4f5
diff --git a/server/webhook.go b/server/webhook.go
index f6e27b462a..816430cca8 100644
--- a/server/webhook.go
+++ b/server/webhook.go
@@ -229,7 +229,11 @@ func (s *Server) createIssuesFromCommits(ctx context.Context, webhookEndpointID
createdMessages = append(createdMessages, createdMessageList...)
}
if len(createdMessages) == 0 {
- log.Warn("Ignored push event because no applicable file found in the commit list", zap.Any("repos", filteredRepos))
+ var repoURLs []string
+ for _, repo := range filteredRepos {
+ repoURLs = append(repoURLs, repo.WebURL)
+ }
+ log.Warn("Ignored push event because no applicable file found in the commit list", zap.Any("repos", repoURLs))
}
return createdMessages, nil
}