some more error logging at the persistence layer