No more silent failing in db functions