Catch errors from kafka