better log failing db inserts