To have a narrow escape; to avoid injury, disaster, or some other undesirable situation.
an attempt which fails narrowly; a performance which falls just short of a certain benchmark
a miss which was nearly a hit or collision
a scenario which ends safely but might well have ended in disaster