@staticmethod<EOL><INDENT>def _serialize_object(obj):<DEDENT>
try:<EOL><INDENT>return repr(obj)<EOL><DEDENT>except:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>
When the state of an exception includes something that we can't pickle, show something useful instead.