Skip to content

Commit

Permalink
Add more logging for retrieving author from commit (#64)
Browse files Browse the repository at this point in the history
* Add more logging for retrieving author from commit

* Remove excessive logging

---------

Co-authored-by: Taras <505555+ribtoks@users.noreply.github.com>
  • Loading branch information
sidsprasad and ribtoks authored Jan 23, 2024
1 parent ec63fe8 commit be69369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ func (s *service) assignNewIssues() {
func (s *service) retrieveCommitAuthor(commitHash string, title string) {
// First check cache to see if this commit was already retrieved before
if commitAuthor, ok := s.commitToAuthorCache[commitHash]; ok {
log.Printf("Found cached author='%v' for commit '%v'", commitAuthor, commitHash)
s.issueTitleToAssigneeMap[title] = commitAuthor
return
}
Expand Down

0 comments on commit be69369

Please sign in to comment.