Is this a very old friend? Dont put so much faith in people that it crushes you when they disappoint you sheynie. People are human and completely capable of doing wrong or mistakes. They WILL disappoint you at times and you will disappoint them too. If it wasnt something malicious, then dont think about it too much.
For now, just give yourself time to heal, watch and observe this person and let them earn your trust back.