Replace "except:" with "except Exception:"

Fixes #5669

Purely mechanical replace, nothing more clever.

I don't know if this qualifies as helpful or useful; this was just a search/replace.  But that may be better than bare except:'s.
I think, we shouldn't touch mpmath stuff at all (see #2192).