Old or New Fuel Sender?

Had the factory sender in my demon and about a year after the resto it went,

what went wrong with it?
it is just a mechanical variable resistor and i don't see how it could fail?
..did the wire come off?