From 509dd09c843b06335c6d18c0c90b1bf3d22f8afb Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Sun, 23 Feb 2020 14:02:45 +0200 Subject: [PATCH] Changed log type --- monkey/monkey_island/cc/resources/test/clear_caches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/test/clear_caches.py b/monkey/monkey_island/cc/resources/test/clear_caches.py index e23629a18..1d12fb32e 100644 --- a/monkey/monkey_island/cc/resources/test/clear_caches.py +++ b/monkey/monkey_island/cc/resources/test/clear_caches.py @@ -29,7 +29,7 @@ class ClearCaches(flask_restful.Resource): flask_restful.abort(500, error_info=str(e)) if ReportService.is_report_generated() or AttackReportService.is_report_generated(): - logger.exception(NOT_ALL_REPORTS_DELETED) + logger.error(NOT_ALL_REPORTS_DELETED) flask_restful.abort(500, error_info=NOT_ALL_REPORTS_DELETED) return {"success": "true"}