When error occurs in `render` method, `console.error(err)` will be called and it will show wrong callstack:  I think you should use `console.error(err.stack)` instead. It will produce correct call stack: 