Adds logging of errors on failed saved