the cord takes a beating with a power beater head.
if the machine has a retractable cord then a good repair with electrical vinyl tape may interfere with the retraction.
if the inner conductor wires don’t have broken insulation then duct tape may work for a while. though if it got chewed in a power head then wires inside could be broken as well.