summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Reporting.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Reporting.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Reporting.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Reporting.py b/src/lib/Bcfg2/Server/Plugins/Reporting.py
index 60f5b1e09..d072f1a33 100644
--- a/src/lib/Bcfg2/Server/Plugins/Reporting.py
+++ b/src/lib/Bcfg2/Server/Plugins/Reporting.py
@@ -1,5 +1,6 @@
""" Unified statistics and reporting plugin """
+import sys
import time
import platform
import traceback
@@ -27,7 +28,7 @@ def _rpc_call(method):
return self.transport.rpc(method, *args, **kwargs)
except TransportError:
# this is needed for Admin.Pull
- raise PluginExecutionError
+ raise PluginExecutionError(sys.exc_info()[1])
return _real_rpc_call