Skip to content

Commit

Permalink
Adjust error message to field name (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek authored Oct 17, 2024
1 parent 9e57b86 commit 56ddf09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (c *producerConfig) mustValidate() *producerConfig {
panic("producerConfig.Completer is required")
}
if c.ClientID == "" {
panic("producerConfig.ClientName is required")
panic("producerConfig.ClientID is required")
}
if c.FetchCooldown <= 0 {
panic("producerConfig.FetchCooldown must be great than zero")
Expand Down

0 comments on commit 56ddf09

Please sign in to comment.