Skip to content

Commit

Permalink
Merge pull request #459 from lovoo/log-topic-on-nocreate
Browse files Browse the repository at this point in the history
log topic name when not creating it
  • Loading branch information
frairon authored Aug 8, 2024
2 parents 136a7fc + d73ed62 commit 183abf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topic_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (m *topicManager) ensureExists(topic string, npar, rfactor int, config map[

// (or not)
if m.topicManagerConfig.NoCreate {
return fmt.Errorf("topic does not exist but the manager is configured with NoCreate, so it will not attempt to create it")
return fmt.Errorf("topic %s does not exist but the manager is configured with NoCreate, so it will not attempt to create it", topic)
}

return m.createTopic(topic,
Expand Down

0 comments on commit 183abf8

Please sign in to comment.