Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Blake Gentry <[email protected]>
  • Loading branch information
brandur and bgentry authored Sep 18, 2024
1 parent bc66acb commit 898bfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ type SubscribeConfig struct {
// Special internal variant that lets us inject an overridden size.
func (c *Client[TTx]) SubscribeConfig(config *SubscribeConfig) (<-chan *Event, func()) {
if c.subscriptionManager == nil {
panic("created a subscription on a client that will never work jobs (Workers not configure)")
panic("created a subscription on a client that will never work jobs (Workers not configured)")
}

return c.subscriptionManager.SubscribeConfig(config)
Expand Down

0 comments on commit 898bfa5

Please sign in to comment.