when i have an ajax error response with jquery i have the following log:
jquery.js:8630 OPTIONS http://10.0.1.108:8000/api/v1.0/auth/ net::ERR_CONNECTION_REFUSED
Object {readyState: 0, status: 0, statusText: "error"}
In my object i have a property statusText: 'error', but no properties with 'net::ERR_CONNECTION_REFUSED'.
I tried to log the responseText as see here Get server response with AJAX error? but my object didn't have this property;
Do you know how i can get it in javascript please? Thank.