Yes, that’s an "oops," but it’s also not completely preventable.
A stray dog and her 6 puppies were sent to a foster home recently by a South Boston, VA animal shelter. It’s a common and logical thing to do, to get the puppies into a lower risk environment until they are old enough to be