summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Reporting')
-rw-r--r--src/lib/Bcfg2/Reporting/Collector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/Collector.py b/src/lib/Bcfg2/Reporting/Collector.py
index 945c1dd05..6c1dfdccb 100644
--- a/src/lib/Bcfg2/Reporting/Collector.py
+++ b/src/lib/Bcfg2/Reporting/Collector.py
@@ -49,7 +49,7 @@ class ReportingStoreThread(threading.Thread):
except:
#TODO requeue?
self.logger.error("Unhandled exception in import thread %s" %
- traceback.format_exc().splitlines()[-1])
+ sys.exc_info()[1])
class ReportingCollector(object):