You can have the same problem for more money with almost all of the Lezyne pumps.
After getting caught out in a similar fashion, I've learned to tighten the valve cores on my spares as soon as I receive them.
That way, its even more embarrassing when you stop to help someone struggling at the side of the road, expertly remove their tyre, locate the hole, patch it for them whilst offering encouraging words about these things always being problematic and not to worry, re-inflate a touch, check tube and tyre are seated well, bring it up to full pressure checking the inline gauge throughout, talking the owner through the steps of finding operational PSI printed on their tyre, and how its not as complex as it looks, then finally, when all is done, removing pump and receiving a sharp appreciative whistle from the empty valve stem.
Its only happened to me three times. I *am* learning.