Best practice to capture event model groovy errors
Summary:
Hi All,
What is the best practice to capture event model groovy errors? I have 3 object functions which are being called at the subscription event model (Draft -> Entry) level.
Sometimes because of data issue the event model object function does not update the required information and in this case we have to capture these errors and show it on UI so that Support or business user can according correct the data.
Currently, I am thinking of adding a try catch and update a custom attribute with the error.
Kindly share if there is a better and efficient way to capture event model errors.
0