mirror of
https://github.com/tenrok/axios.git
synced 2026-06-08 17:22:34 +03:00
Adding request to error objects when it is available
This commit is contained in:
@@ -19,6 +19,7 @@ module.exports = function settle(resolve, reject, response) {
|
||||
'Request failed with status code ' + response.status,
|
||||
response.config,
|
||||
null,
|
||||
response.request,
|
||||
response
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user