I currently work for a consulting company in the tech space. A few months back, we took on a project that was far too big for our team to handle, with too low a budget, and too short a timeline.
Months later, the project is a mess. The client is unhappy and the entire team is burned out beyond belief; our lives have revolved around this project for far too long.
I've been offered a job at another company - one that seems like a better fit for me. I worry if I were to leave this project in the state that it's in, my current employer would be sued by the client.
Part of me feels as though it's the management's fault for taking on such a project and overworking me and my teammates. But the reality is still that this may have an impact on other members of the team (whom I like and respect) if the lawsuit were to lead to layoffs, etc.
How can I resign in such a way to minimize the risk or fallout of my employer being sued? Or should I just stick it out until this project comes to an end?