forked from p15670423/monkey
Changed log type
This commit is contained in:
parent
4461097c60
commit
509dd09c84
|
@ -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"}
|
||||
|
|
Loading…
Reference in New Issue