wrapped data bag query in begin/rescue block