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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy