T
Tobias Peters
Is there a way to tell ruby that it must never skip levels in the
backtrace like this:
/lib/ruby/1.8/net/ftp.rb:192:in `readline': End of file reached (EOFError)
from /lib/ruby/1.8/net/ftp.rb:192:in `getline'
from /lib/ruby/1.8/net/ftp.rb:202:in `getmultiline'
from /lib/ruby/1.8/net/ftp.rb:216:in `getresp'
from /lib/ruby/1.8/net/ftp.rb:232:in `voidresp'
from /lib/ruby/1.8/net/ftp.rb:157:in `connect'
from /lib/ruby/1.8/net/ftp.rb:155:in `synchronize'
from /lib/ruby/1.8/net/ftp.rb:158:in `connect'
from /lib/ruby/1.8/net/ftp.rb:119:in `initialize'
... 7 levels...
from getp.rb:85:in `get_from'
from getp.rb:85:in `open'
from getp.rb:85:in `get_from'
from getp.rb:120
This is the backtrace the ruby interpreter prints out when it terminates
due to an unhandled exception.
Thanks,
Tobias
backtrace like this:
/lib/ruby/1.8/net/ftp.rb:192:in `readline': End of file reached (EOFError)
from /lib/ruby/1.8/net/ftp.rb:192:in `getline'
from /lib/ruby/1.8/net/ftp.rb:202:in `getmultiline'
from /lib/ruby/1.8/net/ftp.rb:216:in `getresp'
from /lib/ruby/1.8/net/ftp.rb:232:in `voidresp'
from /lib/ruby/1.8/net/ftp.rb:157:in `connect'
from /lib/ruby/1.8/net/ftp.rb:155:in `synchronize'
from /lib/ruby/1.8/net/ftp.rb:158:in `connect'
from /lib/ruby/1.8/net/ftp.rb:119:in `initialize'
... 7 levels...
from getp.rb:85:in `get_from'
from getp.rb:85:in `open'
from getp.rb:85:in `get_from'
from getp.rb:120
This is the backtrace the ruby interpreter prints out when it terminates
due to an unhandled exception.
Thanks,
Tobias