Diarrhoea....question?

Yesterday I had an episode of diarrhoea (just once in the day) and now I'm concerned that it was the result of eating something dodgy. I didn't vomit or feel sick, just a really loose bowel movement. Could this have harmed my baby? I'm 15 weeks and not having another scan until 20 weeks. I've had a previous MMC, so naturally anxious about every little thing.