ia64/xen-unstable

changeset 2701:29318d5c9f47

bitkeeper revision 1.1159.116.5 (4177dfd8eoQeNDnbJVcWNL3DSAZzEg)

Print traceback on error.
author mjw@wray-m-3.hpl.hp.com
date Thu Oct 21 16:12:08 2004 +0000 (2004-10-21)
parents cc42f35f9597
children 4b6dc2da0d4c
files tools/python/xen/xend/server/SrvDomainDir.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDomainDir.py	Thu Oct 21 16:11:03 2004 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvDomainDir.py	Thu Oct 21 16:12:08 2004 +0000
     1.3 @@ -98,6 +98,7 @@ class SrvDomainDir(SrvDir):
     1.4          if isinstance(err, Failure):
     1.5              err = err.getErrorMessage()
     1.6          print 'op_create> Deferred Exception creating domain:', err
     1.7 +        traceback.print_exc()
     1.8          req.setResponseCode(http.BAD_REQUEST, "Error creating domain: " + str(err))
     1.9          return str(err)
    1.10