Skip to content

Commit 1021f55

Browse files
committed
Updated oauth_cb error message
with new return values
1 parent 5162a12 commit 1021f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confluent_kafka/src/confluent_kafka.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@ static void oauth_cb (rd_kafka_t *rk, const char *oauthbearer_config,
16051605
Py_DECREF(result);
16061606
PyErr_SetString(PyExc_TypeError,
16071607
"expect returned value from oauth_cb "
1608-
"to be (token_str, expiry_time) tuple");
1608+
"to be (token_str, expiry_time[, principal, extensions]) tuple");
16091609
goto err;
16101610
}
16111611

0 commit comments

Comments
 (0)