Merge "Log the exception when we get one." into stable/diablo

This commit is contained in:
Jenkins 2011-11-17 16:20:02 +00:00 committed by Gerrit Code Review
commit 66bc7a85e3
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ class AjaxConsoleProxy(object):
% (req_url, str(env)))
start_response("401 NOT AUTHORIZED", [])
return "Not Authorized"
except Exception:
except Exception, exc:
LOG.exception(exc)
start_response("500 ERROR", [])
return "Server Error"