Bundled output for commit a7820734a7 [skip ci]
This commit is contained in:
parent
a7820734a7
commit
79d7d32139
2 changed files with 37 additions and 36 deletions
|
|
@ -296,7 +296,8 @@ var _8 = function($window, Promise) {
|
|||
}
|
||||
else {
|
||||
var error = new Error(xhr.responseText)
|
||||
for (var key in response) error[key] = response[key]
|
||||
error.code = xhr.status
|
||||
error.response = response
|
||||
reject(error)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue