Fix bad usage of rescue.