forked from p34709852/monkey
Added debug line to exporter manager
This commit is contained in:
parent
7b6ff8b9c0
commit
e18bbb397c
|
@ -29,6 +29,7 @@ class ReportExporterManager(object):
|
||||||
def export(self, report):
|
def export(self, report):
|
||||||
try:
|
try:
|
||||||
for exporter in self._exporters_set:
|
for exporter in self._exporters_set:
|
||||||
|
logger.debug("Trying to export using " + repr(exporter))
|
||||||
exporter().handle_report(report)
|
exporter().handle_report(report)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception('Failed to export report')
|
logger.exception('Failed to export report, error: ' + e.message)
|
||||||
|
|
Loading…
Reference in New Issue