Sorry tmi. Do you think I should test?

I’m 34w4d and yesterday at 2am woke up with bad stomach pain and diarrhea (went once). After the diarrhea the pain went away and I was able to sleep through the night even though I still feel my stomach sensitive.

I didn’t puke and didn’t have a fever but I was wondering if I should get my blood tested to see if I caught something bad because of what I ate yesterday even though I’m not showing symptoms anymore.