From: richard Date: Wed, 25 Sep 2002 05:15:36 +0000 (+0000) Subject: #613310 ] traceback on onexistant items X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8729393636d47333f9cb5769bb031f15848feba5;p=roundup.git #613310 ] traceback on onexistant items git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1232 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 5667c37..7e6325b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -31,6 +31,7 @@ are given with the most recent entry first. - better handling of Page Template compilation errors - handle multiple unrelated indexed classes - #614188 ] Exception in mailgw.py +- #613310 ] traceback on onexistant items 2002-09-13 0.5.0 beta2 diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index a2e1e1e..3285709 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.42 2002-09-25 02:10:25 richard Exp $ +# $Id: client.py,v 1.43 2002-09-25 05:15:36 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -168,6 +168,9 @@ class Client: self.serve_static_file(str(file)) except Unauthorised, message: self.write(self.renderTemplate('page', '', error_message=message)) + except NotFound: + # pass through + raise except: # everything else self.write(cgitb.html())