Audit trail functionality fails gracefully