Pets can get sick from eating spoiled food, and just like humans, sometimes they are lucky, but that is not a reason to feed them on purpose. Human food contains too much fat and can lead to pancreatitus in pets.
Many people feed their dogs food that is on the “avoid” list provided by the ASPA, but I would not.