def CheckErrorLoggable(self, token):
try:<EOL><INDENT>users_id_token._verify_signed_jwt_with_certs(<EOL>token, self._SAMPLE_TIME_NOW, self.cache)<EOL>self.fail('<STR_LIT>')<EOL><DEDENT>except users_id_token._AppIdentityError as e:<EOL><INDENT>try:<EOL><INDENT>str(e).decode('<STR_LIT:utf-8>')<EOL><DEDENT>except UnicodeDecodeError:<EOL><INDENT>printable = '<STR_LIT>'.join(c if c in string.printable<EOL>else '<STR_LIT>' % ord(c)<EOL>for c in str(e))<EOL>self.fail('<STR_LIT>' % printable)<EOL><DEDENT><DEDENT>
Verify that the error strings we log are valid, loggable strings.