diff options
author | Dan O'Meara <danom@google.com> | 2020-05-01 07:42:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 07:42:23 -0700 |
commit | dd49464a6262c0d1f71efcf11f131e2f591fe5f6 (patch) | |
tree | df5623d6c59a08df1bf7b18a653438084ab13ddb /describe.py | |
parent | 3bf2781e29cb828409f3a8a21939323286524569 (diff) | |
download | google-api-python-client-dd49464a6262c0d1f71efcf11f131e2f591fe5f6.tar.gz |
chore: regens API reference docs (#889)
Diffstat (limited to 'describe.py')
-rwxr-xr-x | describe.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/describe.py b/describe.py index c808a3ba4..9bf8cd63a 100755 --- a/describe.py +++ b/describe.py @@ -38,6 +38,8 @@ from googleapiclient.discovery import build from googleapiclient.discovery import build_from_document from googleapiclient.discovery import UnknownApiNameOrVersion from googleapiclient.http import build_http +from googleapiclient.errors import HttpError + import uritemplate CSS = """<style> @@ -389,6 +391,9 @@ def document_api(name, version): except UnknownApiNameOrVersion as e: print("Warning: {} {} found but could not be built.".format(name, version)) return + except HttpError as e: + print("Warning: {} {} returned {}.".format(name, version, e)) + return http = build_http() response, content = http.request( |