Skip to content

Commit

Permalink
bot: Error when no reviewers are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbishopp committed Feb 16, 2024
1 parent 67275c5 commit 7b8736b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/internal/review/review.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ func FromString(e *env.Environment, reviewers string) (*Assignments, error) {
if err := json.Unmarshal([]byte(reviewers), &c); err != nil {
return nil, trace.Wrap(err)
}
log.Printf("Reviewers loaded with %d cloud and %d core reviewers", len(c.CloudReviewers), len(c.CoreReviewers))

r, err := New(&c)
if err != nil {
Expand Down

0 comments on commit 7b8736b

Please sign in to comment.