I would not bother catching exceptions at all.  The default behavior is to print traceback and repr of exception class and exit the interpreter.  This is almost certainly going to be a more useful failure mode than the message mangling done below.