Wrap save in a method and check errors after save