added error handling to blanket try/except blocks in ErrorController._before__ and __after__

This commit is contained in:
KeyserSosa
2008-10-22 15:31:30 -07:00
parent a9a9c3d747
commit f16c58bc42

View File

@@ -87,13 +87,13 @@ class ErrorController(RedditController):
try:
RedditController.__before__(self)
except:
pass
handle_awful_failure("Error occurred in ErrorController.__before__")
def __after__(self):
try:
RedditController.__after__(self)
except:
pass
handle_awful_failure("Error occurred in ErrorController.__after__")
def __call__(self, environ, start_response):
try: