Frozen Yogurt

Is this unsafe during pregnancy? it was soft served from a place. I just had some today and now I'm a little freaked out cause I read it cause listeria!!! please help