MQTT error logging