KRACOEUS-7279:updated logic to use auditErrors