But if I compare the disappointment of having a problem when I'm almost there versus one where I've just started, I'd definitely take the former. In either case I've already gone to the trouble of starting a long trip. A failure at the 90% point means I'm almost there and just have the work of finishing it, and short trips have many more options than long ones (e.g., short-hop flight vs transit vs renting a car vs taking a Lyft). But a failure at the 10% point means that I've gone to a lot of trouble, gotten very little out of it, and will have fewer options for finishing.
I get people's preferences are different here, and maybe this is just me making use of whatever drives the sunk cost fallacy to keep momentum up and not get discouraged. But I'd definitely prefer B.
But I think it flips for me when commuting, in that a short local ride is easier for me to mentally discount as it's part of my routine. E.g. I used to live one MUNI stop from BART, and I came to see that first leg as negligible in the same way that walking to the MUNI station did.