Closed patrickkusebauch closed 3 years ago
The previous version assumes that the only possible reason for the exception is that the consumer does not exist.
Just by cursory a look, this is already not the case - you can have the exception in the case the callback is not callable.
Also, this is "future-proofing" for other possible reasons you might not be able to create the consumer.
Thanks
The previous version assumes that the only possible reason for the exception is that the consumer does not exist.
Just by cursory a look, this is already not the case - you can have the exception in the case the callback is not callable.
Also, this is "future-proofing" for other possible reasons you might not be able to create the consumer.