mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Revert "Update Webpack + deps, remove now unnecessary polyfills" (#2479)
* Revert "Update Webpack + deps, remove now unnecessary polyfills (#2410)"
This reverts commit 189b34c45a.
* Fix build (#2496)
* Change syntax to see if build passes
* Test commit
* Test with node 10
* Test adding all browsers in travis
* remove other browsers when running on travis
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
|
||||
error.response = response;
|
||||
error.isAxiosError = true;
|
||||
|
||||
error.toJSON = function toJSON() {
|
||||
error.toJSON = function() {
|
||||
return {
|
||||
// Standard
|
||||
message: this.message,
|
||||
|
||||
Reference in New Issue
Block a user