[12360] Improve error output for invalid waypoint texts

(based on commit [12257] - 54d0fda)