One of the big secrets she'd been keeping from her husband was out. He knew about her inappropriate relationship with Draco. While it would've been much better for the truth to be revealed in a less violent or graphic manner, Hermione wasn't sorry that he knew. She should've figured out some way to tell him a long time earlier. They needed to talk about it, get everything out in the open for once.