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

[Xen-changelog] [xen-unstable] Fix exception handling in xend start-of-day.



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Node ID 8b2de97db39d34af2eca264aa8a8a7456d59a72c
# Parent  a05fefbeb19f065d0ed9d5b73d7572e44326fd79
Fix exception handling in xend start-of-day.

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendStorageRepository.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r a05fefbeb19f -r 8b2de97db39d 
tools/python/xen/xend/XendStorageRepository.py
--- a/tools/python/xen/xend/XendStorageRepository.py    Thu Dec 14 20:23:07 
2006 +0000
+++ b/tools/python/xen/xend/XendStorageRepository.py    Thu Dec 14 20:58:27 
2006 +0000
@@ -93,7 +93,7 @@ class XendStorageRepository:
                 open(uuid_file, 'w').write(new_uuid + '\n')
                 return new_uuid
         except IOError:
-            log.exception()
+            log.exception("Failed to determine SR UUID")
 
         return uuid.createString()
 
@@ -232,7 +232,7 @@ class XendStorageRepository:
                     if cfg_path and os.path.exists(cfg_path):
                         os.unlink(cfg_path)
                 except OSError:
-                    log.exception()
+                    log.exception("Failed to destroy image")
                 del self.images[image_uuid]
                 return True
         finally:

_______________________________________________
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®.