def GetUserAppAndServe(self, script, env, start_response):
    """Dispatch a WSGI request to <script>."""
    try:
      app, mod_file = self.GetUserApp(script)
    except __HOLE__:
      logging.exception('Failed to import %s', script)
      start_response('500 Internal Server Error', [], sys.exc_info())
      return ['<h1>500 Internal Server Error</h1>\n']




    except ValueError:
      logging.exception('Invalid runtime.')
      start_response('500 Internal Server Error', [], sys.exc_info())
      return ['<h1>500 Internal Server Error</h1>\n']

    return self.ServeApp(app, mod_file, env, start_response)
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/vmruntime/meta_app.py/MetaWSGIApp.GetUserAppAndServe