connection: Tweak some debugging output

This commit is contained in:
Cole Robinson 2014-09-20 16:33:26 -04:00
parent f2ff378a9d
commit ea97325a72
1 changed files with 4 additions and 4 deletions

View File

@ -695,12 +695,12 @@ class vmmConnection(vmmGObject):
newobj = define_cb(newxml)
except Exception, renameerr:
try:
logging.exception("Error defining new name %s XML",
objtype)
logging.debug("Error defining new name %s XML", objtype,
exc_info=True)
newobj = define_cb(origxml)
except Exception, fixerr:
logging.exception("Failed to redefine original %s!",
objtype)
logging.debug("Failed to redefine original %s!", objtype,
exc_info=True)
raise RuntimeError(
_("%s rename failed. Attempting to recover also "
"failed.\n\n"