-
Notifications
You must be signed in to change notification settings - Fork 20
Incorrect error stack #10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Woah. Wanna make a PR? Does this work in every browser and with different |
Okay, I'll check it out in different environments and if my solution works - will make a PR. |
@shpuntik I was likewise very confused by this problem. I don't think the default stack shown is very helpful unless you are working to debug PR would still be worthwhile in my opinion. |
Happy to accept a PR fixing this. |
Should be resolved in #12. Tested in chrome and firefox. |
Fixed by #12, will be out in next release. |
Out in 1.0.1 implemented in a slightly different way so it's compatible with Firefox too. |
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:The text was updated successfully, but these errors were encountered: