Oooh. Nice shot!
Was there a bang?
It can be repaired with crimps and heat sleeving and a bit of replastering afterwards, or maybe fit a new socket there if it’s any use??
Depending on how it’s wired, the damaged leg could be cut out and circuit reconfigured so the drop is a spur off the ring…. Or a new cable pulled in behind the capping?