Passing in the full failed request to xhrerror

In relation to this [PR](https://github.com/matthewp/xhrerror/pull/2) on xhrerror.