I messed up quite bad at work recently. For the past few weeks I have been struggling with my own mental health and then a family member who I live with took an overdose. They are thankfully physically OK but the whole thing has made my anxiety skyrocket, especially as I wasn't (but should have been) at home when it happened. It’s been so bad I haven’t been able to concentrate on work and haven’t done as much as I should have been doing and we are fast approaching a deadline. I was called out on it today by a member of the team so, even though I have explained to them what happened, I feel as if I have massively let the team down. What advice do people have on dealing with this situation? I have a meeting tomorrow to discuss my progress and it seems as if the team wants to support me but I still feel like an idiot - at the very least I should have told someone what was going on as opposed to potentially jeopardising the entire project