[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Don't ignore exceptions here - the possible RuntimeError is handled already.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 72ec508ccbdcbf065a8dfed4cabd9347d60dff2a
# Parent  f24fcd22c68f5b8a8835abbab4c84ba68fb8159a
Don't ignore exceptions here - the possible RuntimeError is handled already.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r f24fcd22c68f -r 72ec508ccbdc tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Jul 27 18:31:18 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Jul 27 18:40:32 2005
@@ -989,11 +989,8 @@
             self.store_channel = self.eventChannel("store_channel")
         self.store_mfn = xc.init_store(self.store_channel.port2)
         if self.store_mfn >= 0:
-            try:
-                self.db.introduceDomain(self.id, self.store_mfn,
-                                        self.store_channel)
-            except:
-                pass
+            self.db.introduceDomain(self.id, self.store_mfn,
+                                    self.store_channel)
         self.exportToDB(save=True, sync=True)
 
 def vm_field_ignore(vm, config, val, index):

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.