Re: [Zope] Except Bad Request
Thanks for a help, I know how should I catch excetion, problem is that I don't kno how should I catch Bad Request Exception, regards Adam
From: "hawelek_zeus" <hawelek@zeus.polsl.gliwice.pl>
Thanks for a help, I know how should I catch excetion, problem is that I don't kno how should I catch Bad Request Exception,
You can find a list of all of the 'trappable' python exceptions here: http://www.python.org/doc/current/lib/module-exceptions.html Find the one which matches the errors you are generating. Jonathan
Small Business Services wrote:
You can find a list of all of the 'trappable' python exceptions here:
http://www.python.org/doc/current/lib/module-exceptions.html
Find the one which matches the errors you are generating.
Yes, but 'Bad Request' is a strign exception ;-) The short answer is to upgrade to Zope 2.7.1, which I think all of those nasty string exceptions have been removed... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
hawelek_zeus -
Small Business Services