Catch error if saving cannot be completed.