Catch ValueError in accepted buffers