Inspect the HostResolutionError to know which domain fails
Hi,
I'm using curb through Savon (a SOAP client).
Sometimes, I get some Curl::Err::HostResolutionError errors. It's expected, sometimes resolvers fail, domains are not well configured, …
But I'd like to know which exact domain is causing this error. I've tried to rescue the exception and inspect the object, but I can't get anything useful.
Is there a way to know what was the request ?
Thanks.
Good question, you might look in curb/ext/curb_errors.c I don't know for sure but that might be a good place to start...
On Fri, Oct 12, 2012 at 4:20 AM, Jérémy Lecour [email protected]:
Hi,
I'm using curb through Savon (a SOAP client).
Sometimes, I get some Curl::Err::HostResolutionError errors. It's expected, sometimes resolvers fail, domains are not well configured, …
But I'd like to know which exact domain is causing this error. I've tried to rescue the exception and inspect the object, but I can't get anything useful.
Is there a way to know what was the request ?
Thanks.
— Reply to this email directly or view it on GitHubhttps://github.com/taf2/curb/issues/129.