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

Adapt ExecJS::GraalJSRuntime to foreign exception changes in TruffleRuby #112

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

eregon
Copy link
Contributor

@eregon eregon commented Mar 2, 2022

  • Foreign exceptions are no longer translated to ::RuntimeError but
    remain as foreign exceptions and are given the class Polyglot::ForeignException.
  • The backtrace can be nil, notably when throwing a JS string.

cc @byroot

* Foreign exceptions are no longer translated to ::RuntimeError but
  remain as foreign exceptions and are given the class Polyglot::ForeignException.
* The backtrace can be nil, notably when throwing a JS string.
@byroot byroot merged commit 610e88a into rails:master Mar 2, 2022
@byroot
Copy link
Member

byroot commented Mar 2, 2022

Thanks.

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.

2 participants