From abea515b4e165815765b988fe505d703c6d86bbc Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 6 Jan 2010 21:00:35 +0000 Subject: 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 --- src/lib/Component.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3-1-g7c22