My very first attempt years ago to clip my Mandy's nails I did the same thing. I rushed to the vet and he comforted me as I was crying. He said it would be OK and not to be too hard on myself. Just watch it for a few days to make sure it is Ok.
I now do lots of dogs and am careful but once and a while it does get close.
Don't worry your baby will be fine and forgive you soon.