Skip to content

Commit

Permalink
Catch errors on devtools instrumentation only when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
zalmoxisus committed Jul 20, 2016
1 parent e7627d2 commit deb0f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"dependencies": {
"jsan": "^3.1.2",
"querystring": "^0.2.0",
"redux-devtools-instrument": "^1.0.0",
"redux-devtools-instrument": "^1.1.0",
"socketcluster-client": "^4.3.16"
}
}
2 changes: 1 addition & 1 deletion src/devTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export default function devTools(options = {}) {
return (next) => {
return (reducer, initialState) => {
store = configureStore(
next, monitorReducer, { maxAge }
next, monitorReducer, { maxAge, shouldCatchErrors: !!sendOnError }
)(reducer, initialState);

if (realtime) start();
Expand Down

0 comments on commit deb0f5e

Please sign in to comment.