From 46152102a0f5900e1a2cc0800ec850aa7191a3d6 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Tue, 1 Nov 2011 11:33:44 -0700 Subject: Log the exception when we get one. Change-Id: Iee478c8f300b608dd153e3400bd17866f52543c5 --- bin/nova-ajax-console-proxy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/nova-ajax-console-proxy b/bin/nova-ajax-console-proxy index 23fb42fb5..5546e37a9 100755 --- a/bin/nova-ajax-console-proxy +++ b/bin/nova-ajax-console-proxy @@ -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" -- cgit