Skip to content

Commit

Permalink
log topic name when not creating it
Browse files Browse the repository at this point in the history
  • Loading branch information
frairon committed Aug 8, 2024
1 parent 136a7fc commit d73ed62
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 d73ed62

Please sign in to comment.