Skip to content

Commit 183abf8

Browse files
authored
Merge pull request #459 from lovoo/log-topic-on-nocreate
log topic name when not creating it
2 parents 136a7fc + d73ed62 commit 183abf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topic_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (m *topicManager) ensureExists(topic string, npar, rfactor int, config map[
182182

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

188188
return m.createTopic(topic,

0 commit comments

Comments
 (0)