Oil Pressure light problem

My oil light came on over the weekend
- when at idle speed only - and engine warmed -

I Drove it like that for a couple of days -
My car has 142,000 miles on it so I was scared.
took it to my mechanic and ends up oil pressure was
good - just the sensor was going bad - Hooray !

Just wanted to let others know that light doesn't
necessarily mean bad! 76$ fix after labor and parts !