Emit part.on('error') only if there are listeners