From: Nit Khair Date: 2008-10-01T16:33:57+09:00 Subject: "ensure" hiding actual error In my main program I have a "begin ensure end". The "ensure" releases some resources. If there is a syntax error somewhere deep, the program comes to 'ensure' and shows me an error in the 'ensure', not the original error. Only if I block out the 'ensure', does the actual error show. I tried "rescue" with Exception, StandardError and ScriptError to print the exception, but flow never reaches the 'rescue' block, it jumps ahead to "ensure". -- Posted via http://www.ruby-forum.com/.