Skip to content

Commit

Permalink
better error
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Oct 9, 2023
1 parent d2a3fc3 commit 2c4bcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rule/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func ValidateChannelOptions(c ChannelOptions) error {
}
}
if (c.ProxySubscribeStream || c.SubscribeStreamProxyName != "") && (c.ProxySubscribe || c.ProxyPublish || c.ProxySubRefresh) {
return fmt.Errorf("can't use stream proxy together with subscribe, publish or sub refresh proxies")
return fmt.Errorf("can't use subscribe stream proxy together with subscribe, publish or sub refresh proxies")
}
return nil
}
Expand Down

0 comments on commit 2c4bcae

Please sign in to comment.