diff options
author | ianb <devnull@localhost> | 2005-11-09 22:02:30 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2005-11-09 22:02:30 +0000 |
commit | 0b6e62d46bb0515b966360e70699f691cf881f77 (patch) | |
tree | 3bab963046aae4d9dee0d3e79322e0a7d726561a /paste/evalexception | |
parent | 26e919896bb5c559205fe3cc85c0ca8f3180d641 (diff) | |
download | paste-0b6e62d46bb0515b966360e70699f691cf881f77.tar.gz |
Expand error message
Diffstat (limited to 'paste/evalexception')
-rw-r--r-- | paste/evalexception/middleware.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py index db109b2..1f5148a 100644 --- a/paste/evalexception/middleware.py +++ b/paste/evalexception/middleware.py @@ -161,7 +161,8 @@ class EvalException(object): method = getattr(self, next_part, None) if not method: return wsgilib.error_response_app( - '404 Not Found', '%r not found' % next_part)( + '404 Not Found', '%r not found when parsing %r' + % (next_part, wsgilib.construct_url(environ)))( environ, start_response) if not getattr(method, 'exposed', False): return wsgilib.error_response_app( |