Damn. Well, I'm sorry to hear that.
There are differing opinions here whether it's better to maintain the relationship or the secret. I come down on the side of letting go of the secret. So you did the right thing. The fallout is unfortunate, but I think keeping the secret is unhealthy, in a lot of different ways.
Hang in there. It's a lot for them to process. Don't take the initial reaction as the last word. You never know.