Making a near completed path instead of a total computation error?

Essentially what I want to achieve is a half-done path to a point, that isn’t necessarily successful. Currently, if the computation fails, no path will be computed.