As a former vets assistant and long-time dog owner/breeder/groomer I can tell you that many dogs eat bugs, grubs, and worms. It isn't a problem and your dog has probably eaten several you never saw before. Do not worry about this since even some people eat grub worms...even though it is gross.
Let me know if you need more information on this or please...Remember to click 'ACCEPT' if my answer is useful to you. Happy Holidays!