It is a good policy to always wear glasses when shooting. None of the ranges I used to shoot at would allow someone without eye protection on the line. If you cannot afford shooting glasses, those cheap plastic things Harbor Freight sells are OK, but get scratched up if you do not put them in a protective bag. I use the little cloth sack from Crown Royal for a spare set just in case. But I have a couple of sets of shooting glasses. Not cheap but worth it. One set has interchangeable lenses for different light conditions.
Glad it was not more serious.