You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/01/23 00:30:09 UTC
[GitHub] merlimat opened a new issue #1092: Provide better exceptions in Python bindings
merlimat opened a new issue #1092: Provide better exceptions in Python bindings
URL: https://github.com/apache/incubator-pulsar/issues/1092
When passing the wrong type to a method in the Pulsar client Python binding, a cryptic error with C++ type template information is thrown to the user. This exception is a bit hard to decrypt.
We should validate the expected Python object type (eg, `str` or other) before passing it to the C++ binding.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services