If Awrah Is Uncovered During Salah
To cover the body is the manner of Salah, not a part of Salah. Your payer is valid in the above case.