["I really wanted to get an A in one of my classes but I barely didn't which is fine."]
I am sure a B or A- is just as good.  Which class was it?
I really wanted to get an A in one of my classes. Instead I got a B which is fine but I was a little upset.