issues
search
rails
/
execjs
Run JavaScript code from Ruby
MIT License
539
stars
283
forks
source link
Adapt ExecJS::GraalJSRuntime to foreign exception changes in TruffleRuby
#112
Closed
eregon
closed
2 years ago
eregon
commented
2 years ago
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
byroot
commented
2 years ago
Thanks.
cc @byroot