aboutsummaryrefslogtreecommitdiffhomepage
path: root/tap_google_sheets/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'tap_google_sheets/client.py')
-rw-r--r--tap_google_sheets/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap_google_sheets/client.py b/tap_google_sheets/client.py
index 4f38352..bce00ce 100644
--- a/tap_google_sheets/client.py
+++ b/tap_google_sheets/client.py
@@ -230,7 +230,7 @@ class GoogleClient: # pylint: disable=too-many-instance-attributes
230 #Use retry functionality in backoff to wait and retry if 230 #Use retry functionality in backoff to wait and retry if
231 #response code equals 429 because rate limit has been exceeded 231 #response code equals 429 because rate limit has been exceeded
232 if response.status_code == 429: 232 if response.status_code == 429:
233 raise Server429Error() 233 raise Server429Error(response.json().get("error",{}).get("message", "Rate limit exceeded"))
234 234
235 if response.status_code != 200: 235 if response.status_code != 200:
236 raise_for_error(response) 236 raise_for_error(response)