One of the alternate endings would have fixed this issue as Leia was on Coruscant when the battle on Scarif was going down.
On a semi side note that alternate ending is pretty damn bold. Suicide would have been a hard pill to swallow for some but damn it would have been the last thing I expected had this happened.