When shit hits the fan, if it’s your fault, own it. If it’s someone else’s fault, own it. Do not focus on finding someone to blame; concentrate on sorting the problem out. You will build trust, and you will make a difference.
Don’t get me wrong—learn from mistakes, and add safeguards to prevent it from happening again, but later, after the crisis is sorted. You can Use postmortems to learn from incidents
“If you are looking for someone to blame, that’s sorted. You can blame me. Now let’s sort this shit out.” — José Coelho (quite often)
Part of Tips for Software Engineers