summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index a55b88983..830b06a89 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -232,8 +232,8 @@ class Core(object):
try:
mod = getattr(__import__("Bcfg2.Server.Plugins.%s" %
(plugin)).Server.Plugins, plugin)
- except ImportError:
- logger.error("Failed to load plugin %s" % (plugin))
+ except ImportError, e:
+ logger.error("Failed to load plugin %s: %s" % (plugin, e))
continue
struct = getattr(mod, plugin)
try: