libvirtobject: Don't raise error during init_libvirt_state

The connection doesn't handle it. If it ever needs to know we can have
it return a value or something.
This commit is contained in:
Cole Robinson 2015-04-24 15:34:03 -04:00
parent a2d453f3e2
commit 05db555145

View File

@ -187,9 +187,12 @@ class vmmLibvirtObject(vmmGObject):
try:
self._init_libvirt_state()
finally:
self.__initialized = True
self.idle_emit("initialized")
except:
logging.debug("Error initializing libvirt state for %s", self,
exc_info=True)
self.__initialized = True
self.idle_emit("initialized")
###################