Skip to content

Commit

Permalink
add more data to the logs when reports are not supported (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
arilton authored Nov 4, 2024
1 parent 27abad6 commit e5b2d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_salesforce/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get_reports_list(sf):
try:
response = sf._make_request('GET', url, headers=headers, params=params)
except HTTPError as e:
LOGGER.warning("Reports not supported.")
LOGGER.warning(f"Reports not supported. status_code={e.response.status_code}. response={e.response.json()}. url={e.request.url}")
return output
response_json = response.json()
done = response_json.get("done")
Expand Down

0 comments on commit e5b2d63

Please sign in to comment.