There is a chance your cat or dog gets nipped in the nose or face by an earwig and if unlucky, might even be holding on. But this pinch will not be very painful or even noticeable for the dog or cat.
“When I had a visitor in the lab, I would sometimes pick up an earwig and hold it under their nose. It’s a very nice odor, ...