Describe a time when a production deployment failed. How did you diagnose the issue, and what did you do to prevent it from happening again?