Closed stereobooster closed 12 years ago
thanks for the report @stereobooster maybe you could provide us with the JS snippet you were eval-ing as well, please.
I provided it
Javascript
throw 'Error: hello jruby (<eval>#1)'
sorry about that confusion, I thought it's part of a bigger script as it did not reproduce on my side. but than I realized I'm using a very old jruby-head release. there's a fix baked on master. please note that the whole javascript_backtrace
was wrong previously (even when it worked) as it was a formatted string already while it should have been an array + it's now part of the "native" backtrace
as well. enjoy !
Thanks! Is it possible to publish new gem (with this fix) to rubygems?
jruby 1.7.0.dev (ruby-1.9.3-p139) (2012-04-15 ca158df) (OpenJDK Server VM 1.6.0_23) [linux-i386-java]
Javascript
Following accessors of
::Rhino::JSError
returnnil
:javascript_backtrace
unwrap
cause