There's no reason you have to treat a failed attack roll as a miss instead of a hit that does no damage.
For example, an Arcane Trickster throwing up a reaction 'shield' spell doesn't cause the hit to miss either, it just was blocked(as it added 5 to AC).