From c84b3bdd2c70145365bac5623044ea2daf6504fa Mon Sep 17 00:00:00 2001 From: FredyC Date: Mon, 27 Jul 2015 20:10:13 +0200 Subject: [PATCH] reducer exception shown in console --- src/devTools.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devTools.js b/src/devTools.js index a561c76c..78308614 100644 --- a/src/devTools.js +++ b/src/devTools.js @@ -40,6 +40,7 @@ function computeNextEntry(reducer, action, state, error) { nextState = reducer(state, action); } catch (err) { nextError = err.toString(); + console.error(err.stack || err); } return {