Merge "Fix log level error to warning" into stable/ocata
This commit is contained in:
@@ -129,7 +129,7 @@ class AuditHandler(BaseAuditHandler):
|
|||||||
solution = self.do_execute(audit, request_context)
|
solution = self.do_execute(audit, request_context)
|
||||||
self.post_execute(audit, solution, request_context)
|
self.post_execute(audit, solution, request_context)
|
||||||
except exception.ActionPlanIsOngoing as e:
|
except exception.ActionPlanIsOngoing as e:
|
||||||
LOG.exception(e)
|
LOG.warning(e)
|
||||||
if audit.audit_type == objects.audit.AuditType.ONESHOT.value:
|
if audit.audit_type == objects.audit.AuditType.ONESHOT.value:
|
||||||
self.update_audit_state(audit, objects.audit.State.CANCELLED)
|
self.update_audit_state(audit, objects.audit.State.CANCELLED)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user