summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Core.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-09-12 20:33:27 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-09-12 20:33:27 +0000
commit67428b573ec1b270b8d21212ce639f428a9bcbbe (patch)
treea64ecd7f060ce67c622811cb031a0053bd905f2b /src/lib/Server/Core.py
parente2d0865839e7ea7449d8e45f77652521fde81205 (diff)
downloadbcfg2-67428b573ec1b270b8d21212ce639f428a9bcbbe.tar.gz
bcfg2-67428b573ec1b270b8d21212ce639f428a9bcbbe.tar.bz2
bcfg2-67428b573ec1b270b8d21212ce639f428a9bcbbe.zip
remove debug junk
2005/09/09 11:01:41-05:00 anl.gov!desai really fix thinko 2005/09/09 10:54:35-05:00 anl.gov!desai fix thinko (Logical change 1.304) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1249 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Core.py')
-rw-r--r--src/lib/Server/Core.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index dc2fce233..8940b798c 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -100,8 +100,8 @@ class Core(object):
(trace, val, trb)=exc_info()
for line in extract_tb(trb):
syslog(LOG_ERR, ' File "%s", line %i, in %s\n %s\n'%line)
- syslog(LOG_ERR, "%s: %s\n"%(trace, val))
- del trace, val, trb
+ syslog(LOG_ERR, "%s: %s\n"%(trace, val))
+ del trace, val, trb
for plugin in structures:
if self.plugins.has_key(plugin):
@@ -142,6 +142,7 @@ class Core(object):
for gen in self.generators:
if hasattr(gen, "FindHandler"):
return gen.FindHandler(entry)(entry, metadata)
+ syslog(LOG_ERR, "Failed to find handler for %s:%s" % (entry.tag, entry.get('name')))
raise PluginExecutionError, (entry.tag, entry.get('name'))
def BuildConfiguration(self, client):