With so little usage time (could still be relatively long connected to mains), I am a bit surprised that the electrolytic capacitor failed.
2 capacitors are not just for redundency, but sometimes also to avoid a large from factor (e.g. parts hight).
There could well have been another defects, like a ceramic capacitor that shorted out from mechanical stress or the SMPS chip going bad from an overvoltage spike.
I am a bit surprized that the supply did not run with only 1 of the capacitors. With a near zero output voltage a single capacitor should still be enough to avoid fast spikes triggering the feedback. There may have been another defect (like cold solder joint, broken trace or via) that accidently got fixed with changing the capacitors.