From 884b0b143f6da8f791117dabe4976a734be83e22 Mon Sep 17 00:00:00 2001 From: cce Date: Wed, 8 Aug 2007 17:09:25 +0000 Subject: - fix urlmap to include the path that was not found and not give a redundant message of not being found 2x --- paste/urlmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste') diff --git a/paste/urlmap.py b/paste/urlmap.py index bb39e49..c80ce71 100644 --- a/paste/urlmap.py +++ b/paste/urlmap.py @@ -104,7 +104,7 @@ class URLMap(DictMixin): extra += '\nPATH_INFO: %r' % environ.get('PATH_INFO') extra += '\nHTTP_HOST: %r' % environ.get('HTTP_HOST') app = httpexceptions.HTTPNotFound( - 'The resource was not found', + environ['PATH_INFO'], comment=extra).wsgi_application return app(environ, start_response) -- cgit v1.2.1