Merge "Log the exception when we get one."

This commit is contained in:
Jenkins 2011-11-04 14:21:56 +00:00 committed by Gerrit Code Review
commit c978bcab84

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"