Backup raised exceptions to help debugging.