Skip to content

Commit

Permalink
add reponse.text and the request.url to the logs (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
arilton authored Nov 4, 2024
1 parent e5b2d63 commit 6f417c4
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 @@ -248,7 +248,7 @@ def get_views_list(sf):
sf.listview(sobject,lv_id)
responses.append(lv)
except RequestException as e:
LOGGER.info(f"No /'results/' endpoint found for Sobject: {sobject}, Id: {lv_id}")
LOGGER.info(f"No /'results/' endpoint found for Sobject: {sobject}, Id: {lv_id}. response: {e.response.text}. url: {e.request.url}")

return responses

Expand Down

0 comments on commit 6f417c4

Please sign in to comment.