summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Core.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index 4d2a02fa6..930ea6de2 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -99,7 +99,10 @@ class Core(object):
def BindStructure(self, structure, metadata):
for entry in structure.getchildren():
- self.Bind(entry, metadata)
+ try:
+ self.Bind(entry, metadata)
+ except KeyError, k:
+ syslog(LOG_ERR, "Unable to locate %s %s"%k)
def Bind(self, entry, metadata):
g = [x for x in self.generators if x.__provides__.get(entry.tag, {}).has_key(entry.attrib['name'])]