Ecoli in urine

Michelle
Has anyone had ecoli in pregnancy my
Midwife had just phoned an said I have traces of ecoli that will have to be treated with antibiotics is this dangerous? Ty x