Don't abort processing if the distance calculator fails

See merge request !536 (merged) (cherry picked from commit 1c20c579)

@apearce could you please check that this cherry-pick to master makes sense, as reported by @hicheur in this email thread

Merge request reports

Loading