I was called to repair a gas fireplace that was not working properly. I arrived at the house and found that the pilot light was out. I checked the gas line and found that it was not connected properly. I reconnected the gas line and tested the pilot light. The pilot light stayed lit, and the fireplace started working properly.