Skip to content

Commit 6ab8732

Browse files
committed
Show error message, not just a stack trace.
1 parent 86f522a commit 6ab8732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instrument.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function computeNextEntry(reducer, action, state, error) {
7777
// In Chrome, rethrowing provides better source map support
7878
setTimeout(() => { throw err; });
7979
} else {
80-
console.error(err.stack || err);
80+
console.error(err);
8181
}
8282
}
8383

0 commit comments

Comments
 (0)