def _internal_error(self, exception):
        """Last resource error for :meth:`__call__`."""
        logging.exception(exception)
        if self.debug:
            lines = ''.join(traceback.format_exception(*sys.exc_info()))
            html = (cgi.escape(lines, quote=True)) % _debug_template
            return Response(body=html, status=500)

        return exc.HTTPInternalServerError()
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.5.1/webapp2.py/WSGIApplication._internal_error/swapped operands of `%`