diff --git a/tap_github.py b/tap_github.py index 8675f98b..5afa034b 100644 --- a/tap_github.py +++ b/tap_github.py @@ -98,6 +98,7 @@ def authed_get(source, url, headers={}): def authed_get_all_pages(source, url, headers={}): while True: r = authed_get(source, url, headers) + r.raise_for_status() yield r if 'next' in r.links: url = r.links['next']['url']