[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEND] Output exception to log files if XendAPI fails to instantiate.
# HG changeset patch # User Alastair Tse <atse@xxxxxxxxxxxxx> # Date 1169653772 0 # Node ID 85250ca1df569cc14f5f3d553f5f103e0bb4f0d1 # Parent 072ce22bcc91e4b48c5ceccccec41f26a73cdd82 [XEND] Output exception to log files if XendAPI fails to instantiate. Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx> --- tools/python/xen/xend/server/SrvServer.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff -r 072ce22bcc91 -r 85250ca1df56 tools/python/xen/xend/server/SrvServer.py --- a/tools/python/xen/xend/server/SrvServer.py Wed Jan 24 15:48:58 2007 +0000 +++ b/tools/python/xen/xend/server/SrvServer.py Wed Jan 24 15:49:32 2007 +0000 @@ -199,9 +199,8 @@ def _loadConfig(servers, root, reload): servers.add(XMLRPCServer(auth, True, True, addr, int(port), hosts_allowed = allowed)) - except ValueError, exn: - log.error('Xen-API server configuration %s is invalid.', api_cfg) - except TypeError, exn: + except (ValueError, TypeError), exn: + log.exception('Xen API Server init failed') log.error('Xen-API server configuration %s is invalid.', api_cfg) if xoptions.get_xend_tcp_xmlrpc_server(): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |