There is a potential danger to the developing fetus if your body temperature rises above 102 degrees. You can raise your body temperature to this level by getting a fever, by exercising too strenuously, working outside on hot summer days, and so on.
Read this article for information on how stress effects a pregnancy.