Skip to content

Commit

Permalink
Merge branch 'sherif/#4801' of github.com:airbytehq/airbyte into sherif/
Browse files Browse the repository at this point in the history
  • Loading branch information
sherifnada committed Jul 20, 2021
2 parents 1426680 + 959deb5 commit 44174c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def parse_response(
for record in records:
yield record
else:
# TODO sendgrid's API is sending empty (not empty array, just empty) responses at times. It's not entirely clear why, but adding these
# log statements to help reproduce and prevent the connector from failing
# TODO sendgrid's API is sending null responses at times. This seems like a bug on the API side, so we're adding
# log statements to help reproduce and prevent the connector from failing.
err_msg = f"Response contained no valid JSON data. Response body: {response.text}\n"\
f"Response status: {response.status_code}\n"\
f"Response body: {response.text}\n"\
Expand Down

0 comments on commit 44174c9

Please sign in to comment.