Help, need advice

My sister in law just had a miscarriage., the day she found out her baby passed away I found out I'm expecting. I hate the timing of it all. I don't know when,would be a good time to announce my pregnancy. I know on the outside she will be happy for us, but I know it's gonna kill her on the inside. My heart breaks for her.