From: "Thomas B." Date: 2008-10-01T22:53:12+09:00 Subject: Re: "ensure" hiding actual error Nit Khair wrote: > Now in real life, "@test = " calls a method elsewhere which may call > other methods. So i am clueless as to where the error actually is. You caused another exception inside your ensure clause, so the previous one got lost, so that's your mistake. If you want the original exception to live to tell the tale, you cannot raise another in your ensure clause. But if your ensure clause was correct, there wouldn't be any problems with handling correctly the original exception. TPR. -- Posted via http://www.ruby-forum.com/.