Sprouts while pregnant

Allison

I just ate a jimmy johns sub with sprouts before realizing that you’re not supposed to have sprouts while pregnant. Is that just because if the potential for E. Coli? Is it nothing to worry about unless i get sick?