Skip to content

Fix catching all exceptions from std.evalScript#723

Merged
saghul merged 1 commit intomasterfrom
repl-eval-catch-error
Nov 25, 2024
Merged

Fix catching all exceptions from std.evalScript#723
saghul merged 1 commit intomasterfrom
repl-eval-catch-error

Conversation

@saghul
Copy link
Copy Markdown
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
@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