How big was the piece of bark? If it was big enough it could cause an impaction. Do you have a quarantine tank you can temporarily move him to with moist paper towels instead of substrate? That would make it much easier to monitor if he's pooping regularly (and also how well he's eating). Make sure he has a water dish to soak in and watch him closely. If you notice that he isn't passing any feces, you can soak him in a warm honey bath to try to coax a bowel movement. Just add a few drops of honey to water deep enough to reach his chin and soak him for 15-30 minutes. Test the water on your wrist first to make sure it is comfortable to the touch so you don't accidentally scald him. Then he will need a rinse bath afterwards to remove any honey residue.
Also, especially right now avoid feeders that pose an impaction risk (like mealworms or superworms). If he likes nightcrawlers you can feed him an appropriately sized piece of one since it's a soft-bodied food that can help push the bark through his digestive system. I've also heard that hornworms can have a laxative effect, but I have never tried them and they can be hard to find unless you order online.