diff --git a/site/gatsby-site/netlify/functions/parseNews.ts b/site/gatsby-site/netlify/functions/parseNews.ts index f9e08d2aed..eb5b049b22 100644 --- a/site/gatsby-site/netlify/functions/parseNews.ts +++ b/site/gatsby-site/netlify/functions/parseNews.ts @@ -86,6 +86,7 @@ const getHtmlWithCookies = async (url) => { axiosInstance.interceptors.response.use( (response) => response, (error) => { + console.log('Intercepted error', error.message, error.response); if (error.response && [301, 302].includes(error.response.status)) { const redirectUrl = error.response.headers.location;