I agree with Mike. You didn't fail. You have now learned something - you learned what triggered this episode. Now you know to avoid that situation or be prepared for how you're going to handle it in the future. Now you should forgive yourself and keep on going.