You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ruby -v bad.rb
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
a: yo (RuntimeError)
from b
$ jruby -v bad.rb
jruby 1.6.1 (ruby-1.8.7-p330) (2011-05-19 5790d31) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
RuntimeError: yo
go at bad.rb:2
(root) at bad.rb:6
The text was updated successfully, but these errors were encountered:
irb(main):001:0> def go
irb(main):002:1> raise 'yo'
irb(main):003:1> end
irb(main):004:0>
irb(main):005:0* begin
irb(main):006:1* go
irb(main):007:1> rescue Exception => e
irb(main):008:1> e.set_backtrace ['a', 'b']
irb(main):009:1> raise e
irb(main):010:1> end
RuntimeError: yo
from a
from b
Oldy but still not working.,,
The text was updated successfully, but these errors were encountered: