[Zope-dev] Woah! Weirdy Catalog Error :-S

Chris Withers chrisw@nipltd.com
Mon, 21 May 2001 20:10:09 +0100


Chris McDonough wrote:
> 
> It's possible to catch this error, but it's not possible to allow folks
> to search for things with parens in them currently.

I'm not having a good time catching it:

from SearchIndex import TextIndex

try:
     brains = apply(self.searchResults,(REQUEST,),kw)            
except TextIndex.QueryError:
     brains = []

...doesn't actually catch the exception :-S

cheers,

Chris