Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing stack in errors #7

Open
blakeembrey opened this issue Jul 7, 2019 · 2 comments
Open

Missing stack in errors #7

blakeembrey opened this issue Jul 7, 2019 · 2 comments

Comments

@blakeembrey
Copy link

In every node.js version I tested (6, 8, 10) the UnsetVariableError thrown by this module does not have a stack property because the Error prototype is a weird one to extend from. You need to either use ES6 classes or something like https://github.com/JsCommunity/make-error.

@blakeembrey
Copy link
Author

@Inrmanish This has nothing to do with same origin policy, it’s running in node.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@blakeembrey and others