My dogs have ate grass and threw up foamy stuff once and awhile. Unless he keeps doing it I wouldn't worry too much but of course, keep an eye on him.