Skip to content

Commit

Permalink
Merge pull request #46 from akhilerm/fix-log-messages
Browse files Browse the repository at this point in the history
log: use correct environment variable in error messages
  • Loading branch information
dmcgowan authored Nov 20, 2023
2 parents 269fc36 + 56b8648 commit 6187d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func getPRTitle(repo string, prn int64, cache Cache) (string, error) {

if resp.StatusCode >= 400 {
if resp.StatusCode >= 403 {
logrus.Warn("Forbidden response, try setting GITHUB_USER and GITHUB_TOKEN environment variables")
logrus.Warn("Forbidden response, try setting GITHUB_ACTOR and GITHUB_TOKEN environment variables")
}
return "", fmt.Errorf("unexpected status code %d for %s", resp.StatusCode, u)
}
Expand Down

0 comments on commit 6187d20

Please sign in to comment.