The problem
I want to be able to log the IP address that the request was made to when a request times out
Suggested solution
The IP address of the remote is added to the error object that is thrown when a timeout occurs. I am looking for guidance on where and how it is best do this.
Additional context
We are making requests to a CDN and seeing high levels of timeouts. In order to debug the timeouts the CDN need to the IP addresses hence we are looking to log them
The problem
I want to be able to log the IP address that the request was made to when a request times out
Suggested solution
The IP address of the remote is added to the error object that is thrown when a timeout occurs. I am looking for guidance on where and how it is best do this.
Additional context
We are making requests to a CDN and seeing high levels of timeouts. In order to debug the timeouts the CDN need to the IP addresses hence we are looking to log them