diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2010-01-06 21:00:35 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2010-01-06 21:00:35 +0000 |
commit | abea515b4e165815765b988fe505d703c6d86bbc (patch) | |
tree | ba519aa6c35dee24faf9035e7c4a545d481f0537 /src | |
parent | c5fdcee3dddcd652879b83c12374df5245062607 (diff) | |
download | bcfg2-abea515b4e165815765b988fe505d703c6d86bbc.tar.gz bcfg2-abea515b4e165815765b988fe505d703c6d86bbc.tar.bz2 bcfg2-abea515b4e165815765b988fe505d703c6d86bbc.zip |
Component: pass through xmlrpc Fault instances [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5661 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Component.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Component.py b/src/lib/Component.py index a96e4c87d..727952c6f 100644 --- a/src/lib/Component.py +++ b/src/lib/Component.py @@ -225,6 +225,8 @@ class Component (object): self.instance_statistics.add_value('component_lock', lock_done - lock_start) self.instance_statistics.add_value(method, method_done - method_start) + except xmlrpclib.Fault: + raise except Exception, e: if getattr(e, "log", True): self.logger.error(e, exc_info=True) |