Bit of a different one, don’t usually do things like this but here we go. The pedal was cutting out randomly and at first I’d thought that maybe it was shorting on the casing but on inspection I found the ground for the LED was off and floating around the switch shorting different parts of the circuit. The battery holder had also had a pretty bad repair int he passed so I replaced that too.