Employee is the continuous miner sections electrician and was called to the miner for an error code of ""MCT Top' code. When the employee arrived at the miner, employee knocked the breaker panel & the inner breaker panel. Began opening the left side panel box. Employee was looking around inside that location & then an arc flash occurred, & employee had received an electrical shock.