From f6ae05f993016f45af2c19718a6e84e50e4a775e Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Thu, 22 Jul 2010 11:49:13 -0700 Subject: Nobody wants to take on this twisted cleanup. It works for now, but could be much nicer if twisted has a nice hook-point for exception mapping --- nova/objectstore/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/objectstore/handler.py b/nova/objectstore/handler.py index c3c4486bf..098e7a167 100644 --- a/nova/objectstore/handler.py +++ b/nova/objectstore/handler.py @@ -118,7 +118,7 @@ def get_context(request): class ErrorHandlingResource(Resource): """Maps exceptions to 404 / 401 codes. Won't work for exceptions thrown after NOT_DONE_YET is returned.""" - # TODO: This needs to be plugged in to the right place in twisted... + # TODO(unassigned) (calling-all-twisted-experts): This needs to be plugged in to the right place in twisted... # This doesn't look like it's the right place (consider exceptions in getChild; or after NOT_DONE_YET is returned def render(self, request): try: -- cgit