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

syntax errors thrown by render & compile functions are hard to debug #3

Closed
stefan-guggisberg opened this issue Mar 1, 2013 · 2 comments

Comments

@stefan-guggisberg
Copy link

syntax errors in generated code are hard to debug. if e.g. qejs.compile(string, opts) throws a SyntaxError it would help if the generated code that caused the error would be provided as a member of the error object.

see jashkenas/underscore#666 for a related issue.

@ForbesLindesay
Copy link
Owner

True. I'll accept pull requests that improve the situation.

@stefan-guggisberg
Copy link
Author

thanks, i've created a pull request.

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