I have a little local deploy script that runs this if it fails a smoke test:
say -v Bad "Deployment failed, server gave a bad response"