Skip to content

Commit

Permalink
[FIXED] Add missing nats prefix to error
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrpio committed Dec 17, 2024
1 parent 074c819 commit c55e036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js.go
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ func processConsInfo(info *ConsumerInfo, userCfg *ConsumerConfig, isPullMode boo

func checkConfig(s, u *ConsumerConfig) error {
makeErr := func(fieldName string, usrVal, srvVal any) error {
return fmt.Errorf("configuration requests %s to be %v, but consumer's value is %v", fieldName, usrVal, srvVal)
return fmt.Errorf("nats: configuration requests %s to be %v, but consumer's value is %v", fieldName, usrVal, srvVal)
}

if u.Durable != _EMPTY_ && u.Durable != s.Durable {
Expand Down

0 comments on commit c55e036

Please sign in to comment.