Catch edit errors