Skip to content

Commit

Permalink
Adjust error message to field name (riverqueue#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek authored and tigrato committed Dec 18, 2024
1 parent 0f71772 commit a9913a8
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 a9913a8

Please sign in to comment.