Skip to content

Commit d8c2058

Browse files
Andrew Kowalik88manpreet
authored andcommitted
Update exception docstring
1 parent 16c88db commit d8c2058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/producer/kafka.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def _wait_on_metadata(self, topic, max_wait):
584584
set: partition ids for the topic
585585
586586
Raises:
587-
TimeoutException: if partitions for topic were not obtained before
587+
KafkaTimeoutError: if partitions for topic were not obtained before
588588
specified max_wait timeout
589589
"""
590590
# add topic to metadata topic list if it is not there already.

0 commit comments

Comments
 (0)