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

fix(async-rewriter2): improve error messages MONGOSH-656 #747

Merged
merged 3 commits into from Mar 31, 2021
Merged

Conversation

addaleax
Copy link
Contributor

Improve the error messages thrown at runtime by storing the
original source code next to the expression, and then using the
fact that literals are preserved in error messages by V8
in order to restore the original source code of the expression
at runtime.

Improve the error messages thrown at runtime by storing the
original source code next to the expression, and then using the
fact that literals are preserved in error messages by V8
in order to restore the original source code of the expression
at runtime.
@addaleax addaleax merged commit 1536627 into master Mar 31, 2021
@addaleax addaleax deleted the 656-dev branch March 31, 2021 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants