My husband lied to me. Am I wrong for being mad?

My husband and I are due to have a baby in less than 3 weeks.

We decided once we knew the name, we weren’t going to announce it to anyone until she is born. Because people in our family are super judgey on both sides. He promised me he wouldn’t. And I did as well. We both wanted it to be a surprise

Well today he asked me to text his grandma for

Him, and I saw texts from the last time he had texted her. He told her our daughters name. First and middle.

Honestly I’m hurt because he lied. And I didn’t want anyone to know. Am I wrong for being mad? Do I tell him that I know he told someone? Do I keep it to myself?...