Making sure corrupt messages are sent to the error queue