Things like this scare the crap out of me. I'm glad it was a small-ish disaster for you rather than a big disaster. Although if you had water dripping through the ceiling to the lower floor you could very well have a lot of work to do to fix it up.
Think on the bright side, at least it didn't spray saltwater onto the electrical and burn your house down. That scares me the most.