He ate the wrong thing !
But if you're still a bit worried, just watch his eating habits and how he acts. Make sure he's not acting in any way unusual from the norm (not eating, sleeping a lot, etc., etc.). If this starts to happen, you can take him to the vet if you can.
But honestly, I think he'll be fine.