I was just looking at that a few nights ago.
Last summer I did the exact same thing except on my left index finger and through my glove as well. It was end of the day. I'd just got done building a window well. The last thing to do was attach the double hangers to the new header.
My positive placement gun was in the job box so I did what we all do in that scenario. I shot the hangers with my framing nailer and 16's. On the last nail of the last hanger I missed the hole.
As you probably know when you miss with a 16 you here the metal on metal then you hear the nail that missed bounce off something. I heard the former but not the latter. Just about then I realized my left hand really hurt. Sure enough there's the nail halfway through my index finger.
My boss was downstairs talking to the owner. I couldn't even scream or swear. I also couldn't get a really good look at it because it went through my glove as well. So I sat on the edge of the well, grabbed my small channel locks from my bags, put my arm between legs and pulled really hard really fast.
Just like you I got lucky. The nail missed the bone and my finger nail. I ended up hand driving that last nail. Lol