summaryrefslogtreecommitdiff
path: root/cpp/install/common/components.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/install/common/components.py')
-rwxr-xr-xcpp/install/common/components.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/install/common/components.py b/cpp/install/common/components.py
index 13df10db731..357a893706c 100755
--- a/cpp/install/common/components.py
+++ b/cpp/install/common/components.py
@@ -295,7 +295,11 @@ def stage(filename, componentdir, stageDirectory, group, defaults):
logging.log(logging.DEBUG, 'Adding templatized name %s' % computedName)
worker.add(computedName)
else:
- worker.add(current % defaults)
+ try:
+ worker.add(current % defaults)
+ except Exception, e:
+ print str(e) + ": occured while adding %s to worker in element %d in %s" % \
+ (current, i, section)
if worker == None:
msg = "Component file %s is empty." % filename