From: Roger Pack Date: 2008-11-23T09:08:55+09:00 Subject: [ruby-core:20039] printing more output on unrescued exceptions I have been contemplating creating a patch which would make the output of an uncaught exception contain the one line of code that raised it [by reading the source file and outputting that line]: ex: go.rb: def go raise 'unhandled' end def go2 go end go2 currently: $ ruby go.rb go.rb:2:in `go': unhandled (RuntimeError) from go.rb:6:in `go2' from go.rb:9 to become $ ruby go.rb go.rb:2:in `go': unhandled (RuntimeError) raise 'unhandled' from go.rb:6:in `go2' from go.rb:9 I think it would be possible in certain cases. Thoughts? Thanks! -=R