handle errors in transformations and prevent from failing export