Chicken or egg?

Not sure if the problem caused this, or if this is the problem... On the power supply for the nema 34's (x axis), I have just discovered a 'crispy' component.. Think its a resistor, I can only read '8K' on its blackened surface.. I was about to check voltage outputs from this PSU when I saw a tiny wisp of smoke come from it.. I have switched it all off and will contact the chap that sold it to me to see if he knows what it is..

Steve..