Changed log type

This commit is contained in:
Shay Nehmad 2020-02-23 14:02:45 +02:00
parent 4461097c60
commit 509dd09c84
1 changed files with 1 additions and 1 deletions

View File

@ -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"}