Is she not responsible for her actions or something? Varys is in no way responsible.
Also Martin absolutely intended for her to do something like this in the books. I expected it for years.
I also thought Tyrion would tell Dany about Varys because he is desperate for his loyalty to be repaid...