apify / got-scraping

HTTP client made for scraping based on got.
422 stars 32 forks source link

feat: log CONNECT error response body #139

Closed barjin closed 1 month ago

barjin commented 1 month ago

Connected to https://github.com/apify/apify-proxy/issues/823.

On an internal proxy error (such as trying to access an invalid or unresolvable URL - e.g. https://example.comundefined), the proxy returns a response with the error message. got-scraping only logs the length of the message, which is quite useless for most applications.