Beef up error handing in getBuffers.