Handle exceptions during edit as well.