Customize Errors from method

I have this:

begin   sage = Net::Telnet::new( 'Host' => sage_unit,                 'Prompt' => /\>/               )   rescue TimeoutError     fail "Connection timed out, waiting to reconnect."   end

It outputs the text but also it gives the links for stack trace and stuff. Is there a way to just get the text back and that is all?? I do not want errors to consume the whole page just a small text field.

Did you try $VERBOSE = nil ?

What does this have to do with Rails?

This is part of some telnet code in a model.