-
Notifications
You must be signed in to change notification settings - Fork 140
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
Improve error message when there is a JS syntax error #3556
Conversation
6c571e2
to
a8f1dcf
Compare
@willdurand looked to this again once more and I confirm that I'm ok with the general approach, my +1 on proceeding to complete this PR. |
fdf7429
to
5031709
Compare
@rpl so I wasn't very inspired when writing tests but on the other hand, I think coverage is pretty good already. I thought about adding some more tests for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willdurand I didn't reviewed all the PR in detail, but I did find a detail (described below) that I'd like to discuss with you (while I'm going to look to the rest of this patch).
702c6c2
to
0cb9b42
Compare
@rpl thanks. I updated this PR to fix the issue you raised in the previous review. I added a note about reporting a new issue when there is likely a bug in our code. The rest is unchanged. Let me know what you think. |
(ugh, forgot to request a review) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willdurand apologies for letting you wait, there are a couple more changes that I think would be good to apply to this PR (these should be the last ones, I promise ;-))
Let me know if you think that any of those points may use some discussion over a synchronous channel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willdurand lgtm, thanks for covering the last round of changes requested.
Fixes #3482
It'll be awesome once it's ready.
Output