On May 7, 2006, at 5:42 PM, Eli Bendersky wrote:

> Logan Capaldo wrote:
>> On May 7, 2006, at 2:21 PM, Eli Bendersky wrote:
>>
>>> When REXML throws ParseException, a whole load information is  
>>> spilled
>>>
>>> Posted via http://www.ruby-forum.com/.
>>>
>>
>> puts "Failed: #{msg.message}"
>
> Logan,
>
> This is the same as just #{msg}, try it.
>
> Completely useless as an error to display to a user, for 2 reasons:
>
> 1) Full of debugging information (inside-REXML backtrace)
> 2) Inaccurate positioning, pointing on the last line of the  
> document for
> practically all errors
>
>
> -- 
> Posted via http://www.ruby-forum.com/.
>

Oops, I thought message was the message w/o the stack trace