Alt. guage discharging all the time???

went out searching for a frayed wire or loose connection in the engine bay and under the dash and found a wire completely frayed coming out of the tan connector behind the valve cover, the lead was inside the connector but wire was toast, curious if this has something to do with my problem......