Wrap transforms in a try/catch