[CDA-94]: audit logging functions inside try catch blocks to prevente operation failure when audit fails

@pamval please review