dlt
dlt copied to clipboard
show full HTTP response on failure (Feat/1605)
Description
This PR implements error logging of the full HTTP response on error when the dlt.sources.helpers.requests.Session
is used.
Unless a custom session with different configuration is used, all HTTP responses with an error code 4xx will log an error.
This includes:
- the
RESTClient
- each call made by the
dlt.sources.rest_api
Related Issues
- Resolves #1605