At least you've been honest about it, told him and told us. That means you are being honest with yourself and still believe in your diet, it was a slip and you've admitted to it, not a cheat.
Having things to occupy your mind or get you out of the house when there's nobody else there might help you avoid these dangerous times.
Like the others have said, it is in no way the end of the world, or the end of your diet. Put it behind you and look forward to the slim days to come.