mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
[XEND] Output exception to log files if XendAPI fails to instantiate.
Signed-off-by: Alastair Tse <atse@xensource.com>
This commit is contained in:
1 parent
b712f9023e
commit
464ed488c6
1 file changed
+2
-3
@@ -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():
|
||||
|
||||