Log the exception when we get one.

Change-Id: Iee478c8f300b608dd153e3400bd17866f52543c5
This commit is contained in:
Ewan Mellor
2011-11-01 11:33:44 -07:00
parent 550726af20
commit 05d79d89d1

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"