From e18bbb397cb5c1a86866c52e1a98b5ce62c6e3da Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Tue, 23 Apr 2019 18:24:47 +0300 Subject: [PATCH] Added debug line to exporter manager --- monkey/monkey_island/cc/report_exporter_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/report_exporter_manager.py b/monkey/monkey_island/cc/report_exporter_manager.py index a6a983a20..5e51a43e1 100644 --- a/monkey/monkey_island/cc/report_exporter_manager.py +++ b/monkey/monkey_island/cc/report_exporter_manager.py @@ -29,6 +29,7 @@ class ReportExporterManager(object): def export(self, report): try: for exporter in self._exporters_set: + logger.debug("Trying to export using " + repr(exporter)) exporter().handle_report(report) except Exception as e: - logger.exception('Failed to export report') + logger.exception('Failed to export report, error: ' + e.message)