diff options
author | Steven Hand <steven@xensource.com> | 2006-12-14 20:58:27 +0000 |
---|---|---|
committer | Steven Hand <steven@xensource.com> | 2006-12-14 20:58:27 +0000 |
commit | 58295d50273cb4d017b7b5bf754b4930ad45e5c5 (patch) | |
tree | 1d70ad52bbcaf940141dbe577109585ea2a69907 | |
parent | a451e41cb77e5aecbe130c1ec39c63b28827db0b (diff) | |
download | xen-58295d50273cb4d017b7b5bf754b4930ad45e5c5.tar.gz xen-58295d50273cb4d017b7b5bf754b4930ad45e5c5.tar.bz2 xen-58295d50273cb4d017b7b5bf754b4930ad45e5c5.zip |
Fix exception handling in xend start-of-day.
Signed-off-by: Steven Hand <steven@xensource.com>
-rw-r--r-- | tools/python/xen/xend/XendStorageRepository.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xend/XendStorageRepository.py b/tools/python/xen/xend/XendStorageRepository.py index 0aaa4c6725..9a3663a9a5 100644 --- a/tools/python/xen/xend/XendStorageRepository.py +++ b/tools/python/xen/xend/XendStorageRepository.py @@ -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: |