Catch exceptions to support apply_change instead of setattr