Skip to content

Commit 24c0b91

Browse files
author
Richard Jones
committed
[SF#613310] traceback on onexistant items
1 parent 22f9914 commit 24c0b91

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ are given with the most recent entry first.
3131
- better handling of Page Template compilation errors
3232
- handle multiple unrelated indexed classes
3333
- #614188 ] Exception in mailgw.py
34+
- #613310 ] traceback on onexistant items
3435

3536

3637
2002-09-13 0.5.0 beta2

roundup/cgi/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.42 2002-09-25 02:10:25 richard Exp $
1+
# $Id: client.py,v 1.43 2002-09-25 05:15:36 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -168,6 +168,9 @@ def inner_main(self):
168168
self.serve_static_file(str(file))
169169
except Unauthorised, message:
170170
self.write(self.renderTemplate('page', '', error_message=message))
171+
except NotFound:
172+
# pass through
173+
raise
171174
except:
172175
# everything else
173176
self.write(cgitb.html())

0 commit comments

Comments
 (0)