Ok the temps are fine at that age (its a veiled right?).
If you can, carefully remove any bark from the cage so he cant munch on it again.
Since it ate the worm, its not gaping anymore right? So just keep an eye on him, keep up the misting or dripper, we you have and check carefully for fresh poo over the next few days/a week.
If it ate a small peice, it might pass it ok with luck. (somebody else lizard choked to death on bark a month or two ago).
Probly you are l;ucky, and there wont be an issue, but personally Id refrain from feeding the little guy for a day or two. If he has swallowed some bark, itll be easier to digest with less in his stomach. Do keep up the water though.
If he poos as normal (
more than once, remember there was one on the way before it ate bark) in the next week and half, and there are no other problems, then you can consider him out of the woods.
Should something suddenly happen, aka he becomes weak, or cant use his hind legs right, or something dosent seem quitye right, then dont delay, get it to a vet as quck as possible.
Best wishes