Skip to content

Commit 39aa421

Browse files
committed
fixup exception message
1 parent 1b53598 commit 39aa421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/producer/transaction_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def _fail_if_not_ready_for_send(self):
211211
if self.is_transactional():
212212
if not self.has_producer_id():
213213
raise Errors.IllegalStateError(
214-
"Cannot perform a 'send' before completing a call to initTransactions"
214+
"Cannot perform a 'send' before completing a call to init_transactions"
215215
" when transactions are enabled.")
216216

217217
if self._current_state != TransactionState.IN_TRANSACTION:

0 commit comments

Comments
 (0)