I have developed triggers on a managed package object which gets updated through a webhook service. The webhook updates some external id and status fields which are critical to get updated regardless if any of my custom code fails. I am thinking of putting exception handling throughout my code and handling errors through updating an error field and getting an email whenever something goes wrong.
This implementation is for a large enterprise client and the project is growing more complex each day. I want to make sure I am using the best practice for handling this scenario. Thanks for the help.