Added debug line to exporter manager

This commit is contained in:
Shay Nehmad 2019-04-23 18:24:47 +03:00
parent 7b6ff8b9c0
commit e18bbb397c
1 changed files with 2 additions and 1 deletions

View File

@ -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)