More error logging on fail ajaxrequest