Narrative:

[There may have been] static build up from rain that we were flying through.on the initial climb out; while leaving ZZZ; we were going through some rain. I began to hear a type of electric spark sound coming from captain's window and when I grabbed the handle to make sure that it was closed; I experienced what I would say an electric shock. Then; I began to feel unease and decided to divert.[we should] check all airplanes for proper grounding.

Google
 

Original NASA ASRS Text

Title: E145 Pilot reported getting a shock when attempting to check an aircraft window while in the rain.

Narrative: [There may have been] static build up from rain that we were flying through.On the initial climb out; while leaving ZZZ; we were going through some rain. I began to hear a type of electric spark sound coming from Captain's window and when I grabbed the handle to make sure that it was closed; I experienced what I would say an electric shock. Then; I began to feel unease and decided to divert.[We should] check all airplanes for proper grounding.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.