Vaseline can
break down a condom and cause it to
break, as you discovered. HOWEVER, because the head of your penid remained covered, like Teak already told you, you didn't have a risk. The opening og the penis (to the urethra) is the entry point to allow for infection, so you do't have a concern.
From now on, only use a water baded lube.