Make `kafka-transport` compatible with newer Seneca

Improve error handling.