Can I catch the stomach bug from my friend??😷

So I hung out with one of my friends on Saturday night. She didn't say she was sick or anything so I had hugged her and sat pretty close to her for the night. This morning she told us that for the past 1/2 days she's been really weak, getting stomach cramps (not period), and keeps feeling like she's gonna throw up. I don't think she's thrown up yet or had any issues out the other end (as far as she's shared with me). Im always careful not to touch my face and she didn't cough or sneeze on me or anything. I'm really freaked out now because I leave for vacation tomorrow and I'm so scared of the stomach flu, I haven't had it in years. Can you catch it by hugging someone or sitting close to them?? I'm paranoid😰