Normally, sleep spells end when the target takes damage. I'll rule that instead, they make a wisdom saving throw, and on a failure, they stay sleeping. If it isn't magical sleep, then the check to wake up will be made with disadvantage. Finally, there's a chance that the target might not mind being devoured if it's not painful, and checks to convince them to stay down will be easier, if they have to be made at all.