Energy drink? Scared

Krista
I'm currently 36 weeks and 2 days pregnant. I haven't had an energy drink sense my first month of pregnancy. Today I was craving one and had 1 can with dinner. I feel fine. 
I was informed I could of just killed my baby??? I'm really confused. Also informed my child may have heart defects now, or die of SIDS? Didn't hear this from my doctor just from outside people. Anyone drink an energy drink and have their son be totally fine?