summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Core.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index 9fa42cfd1..bbeceb3f2 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -72,10 +72,9 @@ class Core(Component):
try:
self.fam = Bcfg2.Server.FileMonitor.available[filemonitor]()
except IOError:
- logger.error("Failed to instantiate fam driver %s" % filemonitor,
- exc_info=1)
- raise CoreInitError("failed to instantiate fam driver (used %s)" % \
- filemonitor)
+ msg = "Failed to instantiate fam driver %s" % filemonitor
+ logger.error(msg, exc_info=1)
+ raise CoreInitError(msg)
self.pubspace = {}
self.cfile = cfile
self.cron = {}