exceptions must derive from BaseException
baigang666 opened this issue · 2 comments
baigang666 commented
Search before asking
- I searched in the issues and found nothing similar.
Version
3.1.0
Minimal reproduce step
def callback(self,res):
self.logger.info(f"Message published,data={res}")
producer = self.client.create_producer(topic, compression_type=pulsar.CompressionType.LZ4 )
producer.send_async(send_message, self.callback(one_data))
What did you expect to see?
mmm
What did you see instead?
mmmm
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
tisonkun commented
This seems a python client issue to improve the exception hierarchy. But @baigang666 please provide a complete sample and describe in details what you expect - let maintainers guess what you mean will delay the issue to be handled or resolved.
BewareMyPower commented
Could you explain what's the BaseException
? Currently all exception classes derive from _pulsar.PulsarException
.