Not really a cause for concern. Bosch motors are conservatively rated IP54, which is splash resistant, but not immersion resistant. Don't intentionally ride it through water deep enough to hit the bearings, and don't spray pressurized water at the bearings and seals either (light hose rinse is just fine). Rain is generally fine as long as you dry it out properly when you get home. Many folks ride them hard in wet conditions with no detriment, but water intrusion is possible in some cases. It's been discussed on here before, and there are a few videos and links around showing what can happen if water does get in from heavy exposure or bearing/seal wear.Cause a new worry as there were a few puddle splashes. Water + Electronic = Bad Things, should there be a concern?
Spoiler: it won't electrocute you, it will just rust your bearings and boards faster and shorten the motor life.
Ride and be happy! Enjoy the bike!