No, if anything he might have runny poos....but animals have a much hardier digestive system than we. That's why some can scavenge and eat dead animals with no ill effects. Vultures can eat animals that have died from pretty much any disease and be totally unaffected.
Of course we don't want to feed beardies rotten food on purpose or anything that is very moldy, but your dragon should be fine.