aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r--mediagoblin/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py
index 876ded4e..8bd2496f 100644
--- a/mediagoblin/app.py
+++ b/mediagoblin/app.py
@@ -193,7 +193,8 @@ class MediaGoblinApp(object):
except NotFound as exc:
return render_404(request)(environ, start_response)
except HTTPException as exc:
- # Support legacy webob.exc responses
+ # exceptions that match() is documented to return:
+ # MethodNotAllowed, RequestRedirect TODO: need to handle ???
return exc(environ, start_response)
view_func = view_functions[endpoint]