This is a regurgitation.
Tell your friend not to feed for the next 2 weeks.
In the mean time he needs to make sure that the temps are optimum, that the next meal offered is the right size and should not handle the snake for at least 24 hours after a meal.
If it happens again next time, he will need to see a vet and have a fecal done.