Improve logging for when an object
can't be saved.