Log the exception when we get one.
Change-Id: Iee478c8f300b608dd153e3400bd17866f52543c5
This commit is contained in:
@@ -102,7 +102,8 @@ class AjaxConsoleProxy(object):
|
|||||||
% (req_url, str(env)))
|
% (req_url, str(env)))
|
||||||
start_response("401 NOT AUTHORIZED", [])
|
start_response("401 NOT AUTHORIZED", [])
|
||||||
return "Not Authorized"
|
return "Not Authorized"
|
||||||
except Exception:
|
except Exception, exc:
|
||||||
|
LOG.exception(exc)
|
||||||
start_response("500 ERROR", [])
|
start_response("500 ERROR", [])
|
||||||
return "Server Error"
|
return "Server Error"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user