Get a nice big tube (looks like a toothpaste toob) of dielectric grease. Unplug everything, one plug at a time, apply grease to every electrical connection on the bike. This will help prevent 99.999999999% of electrical faults in rain, monsoons, hurricanes, but probably not tornadoes.