It's your neck!
If I have any problem that causes me to believe the safety of the aircraft is, or could be, in jeopardy I will:
1. Consult my F/O (for obvious reasons)
2. Land at the nearest available airport!
In this case I care not for regs, delays, money, inconvenience, kissing the kids goodnight, dates with a promise attached........
A full or even partial electrical failure is, in my view, a good reason to pan and land.
It is that simple!