diff --git a/package.json b/package.json index 7204c321..5ee3076d 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "object-path-immutable": "^0.5.1", "object.omit": "^2.0.1", "query-string": "^4.3.4", - "react": "*", + "react": "^15.6.2", "react-redux": "*" } } diff --git a/src/middleware.js b/src/middleware.js index 071d0097..f6492187 100644 --- a/src/middleware.js +++ b/src/middleware.js @@ -39,6 +39,7 @@ export default function buildMiddleware() { meta: { ...meta, type: 'error' }, }); return Promise.reject(result); - }); + }) + .catch(error => console.log(error)); }; }