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 catching all exceptions from std.evalScript #723

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Nov 25, 2024

In case of a syntax error, the function throws syncrnonously.

I'll admit I wondered when Promise.try would be useful... I guess I know now!

Fixes: #720 (comment)

In case of a syntax error, the function throws syncrnonously.

I'll admit I wondered when Promise.try would be useful... I guess I know
now!

Fixes: #720 (comment)
@saghul saghul merged commit 9631492 into master Nov 25, 2024
51 checks passed
@saghul saghul deleted the repl-eval-catch-error branch November 25, 2024 09:44
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

Successfully merging this pull request may close these issues.

Assert failed while error statements
2 participants