Ensure that we catch and log errors in `beforeSave` and `afterRestore`, and do not fail the entire workflow in these cases.