What does 「何かあるごとに」 mean in this sentence, the best i can come up with is, "every time something happens", but it doesn't seem quite right.
何かあるごとに姉がこうしてくるので「抱擁」しているのですが・・・違いましたか?
context, is that one is hugging the other, and the one getting hugged is slightly flustered.
The best guess i can come up with for the whole sentence is, "each time some happens, a big sister does this, so i'm hugging (you), but... was i wrong?"