"I got to the station a few minutes late and missed the train by the skin of the teeth." Skin of the teeth implies
just manage to do something but that almost failed
exagerate a story
has got nothing to do with
a fuss made about an insignificant matter