Skip to content

Commit 269d901

Browse files
committed
Add console.log(err) to see errors from eval()
If there is any problem with components, the code that is in use now `React.render(<Alert ...)` is not enough. Upgrading to `babel@5` has been brought it to light.
1 parent a07ea20 commit 269d901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: docs/src/ReactPlayground.js

+1
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ const ReactPlayground = React.createClass({
250250
/* eslint-enable */
251251
}
252252
} catch (err) {
253+
console.log(err);
253254
this.setTimeout(() => {
254255
React.render(
255256
<Alert bsStyle='danger'>{err.toString()}</Alert>,

0 commit comments

Comments
 (0)