On Fri, Jun 23, 2006 at 05:23:53PM +0200, Sergei Serdyuk wrote: > Hi, > > I have a big index and wildcard query raises an exception. That is all > right. The problem is I can not rescue this exception and it bombs right > to user page. Why?
the errors raised by ferret aren't subclasses of StandardError, and 'rescue' without arguments defaults to 'rescue StandardError' 'rescue Exception' will rescue from all possible errors, including those from Ferret. regards, Jens -- webit! Gesellschaft für neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Krämer [EMAIL PROTECTED] Schnorrstraße 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66 _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

